10 lines
No EOL
650 B
Text
10 lines
No EOL
650 B
Text
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. |