mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
533 B
Plaintext
14 lines
533 B
Plaintext
ambientStatement1.ts(2,6): error TS1036: Statements are not allowed in ambient contexts.
|
|
ambientStatement1.ts(4,22): error TS1039: Initializers are not allowed in ambient contexts.
|
|
|
|
|
|
==== ambientStatement1.ts (2 errors) ====
|
|
declare namespace M1 {
|
|
while(true);
|
|
~~~~~
|
|
!!! error TS1036: Statements are not allowed in ambient contexts.
|
|
|
|
export var v1 = () => false;
|
|
~~~~~~~~~~~
|
|
!!! error TS1039: Initializers are not allowed in ambient contexts.
|
|
} |