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

8 lines
145 B
TypeScript

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