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.

Angular2: Web Speech API - Voice recognition

After reading the documentation of webkitSpeechRecognition (voice recognition in Javascript) I tried to implement it in Angular 2. But when I …

javascript angular voice-recognition typescript1.8 webspeech-api
How can I compile my Typescript into a single JS file with no module loading system?

I have a small Typescript project of about 10 ts files. I want to compile all my files into es5 and …

typescript typescript1.8 typescript-typings tsconfig
Typescript: Argument of type 'RegExpMatchArray' is not assignable to parameter of type 'string'

I have the following expression: import { persistState } from 'redux-devtools'; const enhancer = compose( applyMiddleware(thunk, router, logger), DevTools.instrument(), persistState( window.…

typescript visual-studio-code typescript1.8 typescript-typings
Can Typescript import CommonJS Modules?

I had this file: //foo.js var foo = function () { return "foo"; }; module.exports = foo; So, I wanted to import it …

javascript d3.js typescript1.8
Get list of filenames in assets folder with Typescript

How do I get all filenames in a folder using Typescript? It's for an angular 2 project. To be more specific, …

angular typescript1.8
Generic and typeof T in the parameters

In TypeScript I can define the type of a variable as the type of a class. For example: class MyClass { ... } …

typescript typescript1.8
TypeScript constructor

i tried to create a class with two constructors and find out that TypeScript are not allowing that, but it …

typescript typescript1.8
TypeScript: static properties and inheritance

I'm quite new to TypeScript (1.8) and I have a small issue with inheritance and static properties. Please find below the …

inheritance typescript static typescript1.8