mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
766 B
Plaintext
16 lines
766 B
Plaintext
asiPreventsParsingAsInterface03.ts(1,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface03.ts(4,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
|
|
|
|
==== asiPreventsParsingAsInterface03.ts (2 errors) ====
|
|
var interface: number, I: string;
|
|
~~~~~~~~~
|
|
!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
|
|
namespace n {
|
|
interface // This should be the identifier 'interface'
|
|
~~~~~~~~~
|
|
!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
I // This should be the identifier 'I'
|
|
{} // This should be a block body
|
|
} |