mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
asiPreventsParsingAsInterface01.ts(1,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface01.ts(3,1): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface01.ts(3,1): error TS2454: Variable 'interface' is used before being assigned.
|
|
asiPreventsParsingAsInterface01.ts(4,1): error TS2454: Variable 'I' is used before being assigned.
|
|
|
|
|
|
==== asiPreventsParsingAsInterface01.ts (4 errors) ====
|
|
var interface: number, I: string;
|
|
~~~~~~~~~
|
|
!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
|
|
interface // This should be the identifier 'interface'
|
|
~~~~~~~~~
|
|
!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
~~~~~~~~~
|
|
!!! error TS2454: Variable 'interface' is used before being assigned.
|
|
I // This should be the identifier 'I'
|
|
~
|
|
!!! error TS2454: Variable 'I' is used before being assigned.
|
|
{} // This should be a block body |