mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The existence of this module in the services/ folder led some to believe xhr is meant to be a general-purpose http library. Fixes #2305
5 lines
126 B
TypeScript
5 lines
126 B
TypeScript
import {Promise} from 'angular2/src/facade/async';
|
|
|
|
export class XHR {
|
|
get(url: string): Promise<string> { return null; }
|
|
}
|