6 lines
No EOL
280 B
Text
6 lines
No EOL
280 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts (2 errors) ====
|
|
var v = 1;
|
|
~~~
|
|
!!! A 'declare' modifier is required for a top level declaration in a .d.ts file.
|
|
~
|
|
!!! Initializers are not allowed in ambient contexts. |