2014-12-16 10:09:42 +01:00
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts(1,1): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
2014-12-17 04:11:07 +01:00
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts(1,7): error TS1155: 'const' declarations must be initialized
2014-11-28 23:50:58 +01:00
2014-12-17 04:11:07 +01:00
==== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts (2 errors) ====
2014-11-28 23:50:58 +01:00
const a
2014-12-16 10:09:42 +01:00
~~~~~
2014-12-17 04:11:07 +01:00
!!! error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
~
!!! error TS1155: 'const' declarations must be initialized