Files
tsgo/testdata/baselines/reference/submodule/conformance/asyncArrowFunction10_es2017.errors.txt

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'?
}