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