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.

Property 'map' does not exist on type 'Observable<Response>'

I am trying to call an API from Angular but am getting this error: Property 'map' does not exist on …

angular typescript1.8
How to declare and import typescript interfaces in a separate file

I want to define several interfaces in their own file in my typescript-based project, from which I'll implement classes for …

typescript typescript1.8
How to install older version of Typescript?

I recently installed Typescript 1.8 and found too many breaking issues. So for the time being I would like to install 1.7. …

typescript typescript1.8
Build: element implicitly has an 'any' type because index expression is not of type 'number'

We are transpiling our TypeScript 1.8 code forcing the software developer to set the types. Here are the error messages: Description: …

typescript typescript1.8
Ionic 2 - Disabling back button for a specific view

So I'm messing around a bit with Ionic 2, and I want to know how to disable the back button for …

angular ionic2 typescript1.8
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
How to configure custom global interfaces (.d.ts files) for TypeScript?

I'm currently working on a ReactJS project which uses Webpack2 and TypeScript. Everything works perfectly apart from one thing - …

typescript typescript-typings typescript2.0 typescript1.8
New Typescript 1.8.4 build error: " Build: Property 'result' does not exist on type 'EventTarget'. "

I am New to typescript. In my Durandal application I migrated to VS-2012 to VS-2015 means typescript 0.9 to typescript 1.8.4. After …

typescript typescript1.8
How can I convert a Set to an Array in TypeScript

How can I convert a Set (eg, {2,4,6}) to an Array [2, 4, 6] in TypeScript without writing a loop explicitly ? I have tried …

arrays typescript set typescript1.8
Obtaining the return type of a function

I have the following function: function test(): number { return 42; } I can obtain the type of the function by using typeof: …

typescript typescript1.8