Top "Typescript1.5" questions

Used for questions that relate to features or technical changes introduced in TypeScript 1.5

Visual Studio 2015 RTM - Lost JavaScript support after update TypeScript Tools

I have lost the support for JavaScript files inside Visual Studio 2015 after updating the TypeScript tools from version 1.5.3 to 1.5.4. By …

javascript syntax-highlighting intellisense visual-studio-2015 typescript1.5
How to change the result type of a Promise< > in TypeScript

For some Typescript methods I build, often I need the asynchronicity of a promise but I do not require the …

typescript promise es6-promise typescript1.5 typescript1.6
Type 'CanvasRenderingContext2D | WebGLRenderingContext' is not assignable to type 'CanvasRenderingContext2D'

I have upgraded to Visual Studio 2015 Community with Typescript 1.5 Beta. I am getting the following error. Type 'CanvasRenderingContext2D | WebGLRenderingContext' …

typescript visual-studio-2015 typescript1.5
AngularJs+TypeScript:-How to get the selected index value in ng-select

I m working on module where I have check a condition for the visibility of a panel as if slected …

angularjs angularjs-scope typescript typescript1.4 typescript1.5
using core-js with TypeScript

The Kangax compatibility table for ES6 at http://kangax.github.io/compat-table/es6/ shows results for "TypeScript + core-js". I need …

javascript ecmascript-6 typescript1.5
TypeScript 1.5, reflection and decorator

I was wondering if it was possible to use reflection, and more particularly class reflection concerning decorator, on property, on …

typescript typescript1.5
Compile Angular2 ts file

I'm trying Angular2 using Typescript, but I have a problem with tsc. This is my tsconfig.json file: { "compilerOptions": { "module": "…

typescript angular typescript1.5 tsc
Angular 2 - Can't bind to 'controlGroup' since it isn't a know property of the 'div' element

I'm trying to build a small app using Angular2.0.0-alpha.28 (with corresponding .d.ts) + TypeScript 1.5.0-beta and I got the …

angular typescript1.5
cannot compile external modules unless the '--module' flag is provided

Problem while using visual studio code with angularjs2 and Typescript 1.5beta. Error:(3, 1) TS1148: Cannot compile external modules unless the '--module' …

angular visual-studio-code typescript1.5