Top "Typescript2.0" questions

Tag for questions specific to new features in TypeScript 2.x. For general TypeScript questions, the correct tag is TypeScript.

exporting imports as a namespace with TypeScript

My question is pretty much the same as this one: https://github.com/Microsoft/TypeScript/issues/4529 Say I have this: //…

typescript typescript2.0 suman
Typescript 2.0 and Webpack importing of HTML as string

I'm trying to import a HTML file as string with the help of webpack (Currently using webpack because TypeScript 2.0 doesn't …

typescript webpack typescript2.0 webpack-html-loader
Typescript2 path module resolution

tl;dr : module resolution does not apply ? Hello, I am playing around with Typescript2 module resolution feature. I've noticed that …

node.js typescript gulp typescript2.0 gulp-typescript
How to extend an interface declared in an external library d.ts?

I installed the knockout definitions using the documented method like this. npm install @types/knockout It works nicely, I could …

typescript typescript2.0
Assign correct types to Reselect createSelector function

Edit: added package.json excerpt I am trying to implement typescript in an existing React project and I am facing …

reactjs typescript redux typescript2.0 reselect
Moving from typings to @types using Visual Studio & Typescript 2.0.3

I've tried to remove typings from my web project (Visual Studio 2015 Community) and install d.ts files via new NPM @…

visual-studio-2015 typescript-typings typescript2.0
How to get tsc to Resolve Absolute Paths when Importing Modules using baseUrl?

Consider a simple typescript project with the following directory structure: | package.json | tsconfig.json | \---src | app.ts | \---foobar Foo.ts …

typescript typescript2.0 tsc tsconfig