Top "Typescript1.8" questions

Use this tag for questions specific to new features in TypeScript 1.8. For general TypeScript questions, the correct tag is TypeScript.

Use return value of a function as a string in Angular 2

This is the markup I want to place the returned value: <h2>{{getSelectedUserName}}</h2> This is …

angular angular2-directives typescript1.8
TypeScript Compile Options: module vs target

Trying to have some basic understanding about module and target. I would like to know the difference between module and …

typescript typescript1.8
TypeScript: 'super' must be called before before accessing 'this' in the constructor of a derived class

I've seen this question passing a few times before, but I think my question is more concerning an architectural approach …

inheritance architecture typescript webstorm typescript1.8
TypeScript: How to define custom typings for installed npm package?

I like to use rx-node within TypeScript import RxNode from 'rx-node'; I installed rx-node using npm $ npm install rx-node --save …

node.js typescript typescript1.8
Cannot redeclare block-scoped variable

I have node program which ultimately uses commonjs and therefore my JS files start with a number of require statements. …

typescript typescript1.8
PrimeNG datatable checkbox selection with pagination

I'm trying to bring a data table layout with pagination that has checkbox selection for data in it. I'm able …

angular typescript typescript1.8 primeng
Type Error when using Typescript with React-Redux

I am trying to use react-redux with typescript and I'm getting a type error when I try to inject props …

reactjs typescript redux react-redux typescript1.8
Extension methods in typescript (system)

In my angular2 project I'm trying to extend the prototype of the string class using typescript. This is my code: …

typescript angular prototype typescript1.8
How to convert typescript number to Hex?

I have googled for the past hour and can't find anything on typescript conversion of number to hex. The javascript …

typescript1.8
How to add parameters to a class decorator in TypeScript?

I want to create a decorator function for a class that can take a parameter. Example @Plugin("My first Plugin") …

typescript decorator typescript1.8