13 lines
No EOL
551 B
Text
13 lines
No EOL
551 B
Text
tests/cases/compiler/externSemantics.ts(1,14): error TS1039: Initializers are not allowed in ambient contexts.
|
|
tests/cases/compiler/externSemantics.ts(3,21): error TS1039: Initializers are not allowed in ambient contexts.
|
|
|
|
|
|
==== tests/cases/compiler/externSemantics.ts (2 errors) ====
|
|
declare var x=10;
|
|
~
|
|
!!! error TS1039: Initializers are not allowed in ambient contexts.
|
|
declare var v;
|
|
declare var y:number=3;
|
|
~
|
|
!!! error TS1039: Initializers are not allowed in ambient contexts.
|
|
|