import {Promise} from 'angular2/src/core/facade/async'; export class XHR { get(url: string): Promise { return null; } }