
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
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
import {Promise} from 'angular2/src/facade/async';
|
|
|
|
export class XHR {
|
|
get(url: string): Promise<string> { return null; }
|
|
}
|