10 lines
No EOL
624 B
Text
10 lines
No EOL
624 B
Text
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration4_es6.ts(1,7): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
|
|
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration4_es6.ts(1,7): error TS1155: 'const' declarations must be initialized
|
|
|
|
|
|
==== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration4_es6.ts (2 errors) ====
|
|
const a: number
|
|
~
|
|
!!! error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
|
|
~
|
|
!!! error TS1155: 'const' declarations must be initialized |