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