mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
1.3 KiB
Plaintext
24 lines
1.3 KiB
Plaintext
asiPreventsParsingAsInterface04.ts(1,23): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface04.ts(3,1): error TS2454: Variable 'declare' is used before being assigned.
|
|
asiPreventsParsingAsInterface04.ts(4,1): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface04.ts(4,1): error TS2454: Variable 'interface' is used before being assigned.
|
|
asiPreventsParsingAsInterface04.ts(5,1): error TS2454: Variable 'I' is used before being assigned.
|
|
|
|
|
|
==== asiPreventsParsingAsInterface04.ts (5 errors) ====
|
|
var declare: boolean, interface: number, I: string;
|
|
~~~~~~~~~
|
|
!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
|
|
declare // This should be the identifier 'declare'
|
|
~~~~~~~
|
|
!!! error TS2454: Variable 'declare' is used before being assigned.
|
|
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 |