mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
758 B
Plaintext
14 lines
758 B
Plaintext
asiPreventsParsingAsInterface02.ts(1,12): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
asiPreventsParsingAsInterface02.ts(2,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode.
|
|
|
|
|
|
==== asiPreventsParsingAsInterface02.ts (2 errors) ====
|
|
function f(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.
|
|
I // This should be the identifier 'I'
|
|
{} // This should be a block body
|
|
} |