2161e1852f
Closes #44653
12 lines
540 B
Plaintext
12 lines
540 B
Plaintext
tests/cases/conformance/externalModules/topLevelAwaitErrors.12.ts(5,8): error TS1262: Identifier expected. 'await' is a reserved word at the top-level of a module.
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/topLevelAwaitErrors.12.ts (1 errors) ====
|
|
export {};
|
|
declare namespace foo { const await: any; }
|
|
|
|
// await disallowed in import=namespace when in a module
|
|
import await = foo.await;
|
|
~~~~~
|
|
!!! error TS1262: Identifier expected. 'await' is a reserved word at the top-level of a module.
|
|
|