1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests/async_error.ts
Yusuke Tanaka 9029003046
build: update dlint to v0.2.10 (#8284)
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14 20:27:37 +01:00

9 lines
186 B
TypeScript

console.log("hello");
// deno-lint-ignore require-await
const foo = async (): Promise<never> => {
console.log("before error");
throw Error("error");
};
foo();
console.log("world");