mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
383 B
Plaintext
11 lines
383 B
Plaintext
asyncFunctionDeclaration13_es6.ts(3,11): error TS2552: Cannot find name 'await'. Did you mean 'Awaited'?
|
|
|
|
|
|
==== asyncFunctionDeclaration13_es6.ts (1 errors) ====
|
|
async function foo(): Promise<void> {
|
|
// Legal to use 'await' in a type context.
|
|
var v: await;
|
|
~~~~~
|
|
!!! error TS2552: Cannot find name 'await'. Did you mean 'Awaited'?
|
|
}
|
|
|