I have an abstract base class in Typescript that looks like this:
import {Http, Headers, Response} from \'angular2/http\'; export abstract class SomeService
To me this looks strange...
.map(res => (res).json())
I would do
.map((res: Response) => res.json())