swc/crates/swc_ecma_parser/tests/tsc/asyncArrowFunction10_es2017.ts

8 lines
148 B
TypeScript

// @target: es2017
// @noEmitHelpers: true
var foo = async (): Promise<void> => {
// Legal to use 'await' in a type context.
var v: await;
}