6 lines
308 B
Plaintext
6 lines
308 B
Plaintext
==== 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. |