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