mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
491 B
Plaintext
13 lines
491 B
Plaintext
externSemantics.ts(1,15): error TS1039: Initializers are not allowed in ambient contexts.
|
|
externSemantics.ts(3,22): error TS1039: Initializers are not allowed in ambient contexts.
|
|
|
|
|
|
==== 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.
|
|
|