9 lines
323 B
Plaintext
9 lines
323 B
Plaintext
==== 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.
|
|
|