After updating TypeScript to version 1.7 (the latest version at this time) I've been seeing Resharper point out errors, for example when using namespace
, const
and let
, even though they should be supported by this version of TypeScript.
For example:
TypeScript 1.x feature. Current language is 1.4
and
Lexical declarations (let and const) require ECMAScript 6 compiler target. Current target is ECMAScript 5.