Description
We just upgraded to from VS 2013 Ultimate with TypeScript 1.6 to VS 2015 Enterprise with TypeScript 1.6 and now we are seeing an issue with nested files in our solution where the IDE is reporting errors despite the project building without errors.
We use nested files (using Mads Kristensen's File Nesting VS extension v2.2.31) to nest our test specs under the related .ts file to test. For example:
Test.ts
L Test.spec.ts
When Test.spec.ts
is nested under Test.ts
and you open it in the VS IDE, errors are shown as follows:
Un-nesting the file resolves the problem and the TypeScript tooling is able to resolve the describe(...)
function and errors are no longer displayed in the IDE.
A repro project can be found here:
https://github.com/rwhepburn/TsNestingIssue
Thanks,
Richard