Hi,
Version: VS 2015/TS 1.8
This is an obvious bug so may have been reported earlier, but I couldn't find anything.
Add a new TS project in Visual Studio and add the following (erroneous) code:
class Greeter {
constructor(element: HTMLElement) {
this.foo = 'foo';
}
}
Compiling this results in the following build output:
1>------ Rebuild All started: Project: TypeScriptHTMLApp1, Configuration: Debug Any CPU ------
1>C:\TypeScriptHTMLApp1\app.ts(4,14): error TS2339: Build: Property 'foo' does not exist on type 'Greeter'.
1>C:\TypeScriptHTMLApp1\app.ts(4,14): error TS2339: Build: Property 'foo' does not exist on type 'Greeter'.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
The error is printed in duplicate. This can be a significant nuisance in a solution with a large number of projects.
Hi,
Version: VS 2015/TS 1.8
This is an obvious bug so may have been reported earlier, but I couldn't find anything.
Add a new TS project in Visual Studio and add the following (erroneous) code:
Compiling this results in the following build output:
The error is printed in duplicate. This can be a significant nuisance in a solution with a large number of projects.