Top "Typescript1.4" questions

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

Call an overridden method in base class constructor in typescript

When I'm calling an overridden method from the base class constructor, I cannot get a value of a sub class …

oop typescript typescript1.4
Date variable works, but functions on it do not

I'm using TypeScript 1.4 in an ASP.NET MVC 5 project. I have a field of type Date, and it works partially: …

typescript typescript1.4
Getting error TS2304: Cannot find name 'Buffer'

I am trying to do base64 encode in NodeJS using TypeScript. Following code working fine in JavaScript. When I am …

node.js typescript types typescript1.8 typescript1.4
What is the difference between *.d.ts vs *.ts in typescript?

I start playing with TypeScript which I found really awesome. But I am confused about the difference between *.d.ts …

typescript typescript1.4
Typescript lodash: How to declare a dictionary to use with _.map?

How to declare a dictionary to use with _.map in lodash? Here is the sample TypeScript program. <reference path="../…

typescript lodash typescript1.4
Typing an Array with a union type in TypeScript?

I was just wondering if it is possible to type array with a union type, so that one array can …

typescript typescript1.4
AngularJS 2.0 TypeScript Intellij idea (or webstorm) - ES6 import syntax

Trying to make these steps to make AngularJS 2.0 sample app running. On that step, putting code in app.ts: /// <…

intellij-idea typescript1.5 typescript1.4
What is the difference between the three ways of loading typescript module dependencies?

What is the difference between the following ways of loading typescript module dependencies? /// <amd-dependency path="someFile"/> /// <reference …

requirejs typescript amd js-amd typescript1.4
Is TypeScript really a superset of JavaScript?

I just started using TypeScript and sometimes get compiler errors "use of undeclared variable". For example the following works in …

javascript compiler-errors typescript1.4
Import external definitions

With Typescript, is there a way to import just the types from an external module? Basically I just want one …

typescript typescript1.4