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

9 lines
173 B
TypeScript

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