2161e1852f
Closes #44653
10 lines
474 B
Plaintext
10 lines
474 B
Plaintext
tests/cases/conformance/externalModules/topLevelAwaitErrors.6.ts(2,17): error TS1262: Identifier expected. 'await' is a reserved word at the top-level of a module.
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/topLevelAwaitErrors.6.ts (1 errors) ====
|
|
// await in exported function name should fail
|
|
export function await() {
|
|
~~~~~
|
|
!!! error TS1262: Identifier expected. 'await' is a reserved word at the top-level of a module.
|
|
}
|
|
|