mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
9 lines
173 B
TypeScript
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;
|
|
}
|