9 lines
No EOL
295 B
Text
9 lines
No EOL
295 B
Text
==== tests/cases/compiler/externSemantics.ts (2 errors) ====
|
|
declare var x=10;
|
|
~
|
|
!!! Initializers are not allowed in ambient contexts.
|
|
declare var v;
|
|
declare var y:number=3;
|
|
~
|
|
!!! Initializers are not allowed in ambient contexts.
|
|
|