10 lines
650 B
Plaintext
10 lines
650 B
Plaintext
tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts(1,1): error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.
|
|
tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts(1,7): error TS1039: Initializers are not allowed in ambient contexts.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts (2 errors) ====
|
|
var v = 1;
|
|
~~~
|
|
!!! error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.
|
|
~
|
|
!!! error TS1039: Initializers are not allowed in ambient contexts. |