chore(http.d.ts): have http properly reexport core types
This commit is contained in:
parent
7c7888de4f
commit
5b8ce1e42a
|
@ -51,39 +51,22 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
|
||||||
id: 'angular2/angular2',
|
id: 'angular2/angular2',
|
||||||
references: ['../es6-promise/es6-promise.d.ts', '../rx/rx.d.ts'],
|
references: ['../es6-promise/es6-promise.d.ts', '../rx/rx.d.ts'],
|
||||||
modules: {
|
modules: {
|
||||||
'angular2/angular2': {
|
'angular2/angular2': {namespace: 'ng', id: 'angular2/angular2'},
|
||||||
namespace: 'ng',
|
'angular2/web_worker/worker': {namespace: 'ngWorker', id: 'angular2/web_worker/worker'},
|
||||||
id: 'angular2/angular2'
|
'angular2/web_worker/ui': {namespace: 'ngUi', id: 'angular2/web_worker/ui'}
|
||||||
},
|
|
||||||
'angular2/web_worker/worker': {
|
|
||||||
namespace: 'ngWorker',
|
|
||||||
id: 'angular2/web_worker/worker'
|
|
||||||
},
|
|
||||||
'angular2/web_worker/ui': {
|
|
||||||
namespace: 'ngUi',
|
|
||||||
id: 'angular2/web_worker/ui'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'angular2/router',
|
id: 'angular2/router',
|
||||||
references: ['./angular2.d.ts'],
|
references: ['./angular2.d.ts'],
|
||||||
remapTypes: {Type: 'ng.Type'},
|
remapTypes: {Type: 'ng.Type'},
|
||||||
modules: {
|
modules: {'angular2/router': {namespace: 'ngRouter', id: 'angular2/router'}}
|
||||||
'angular2/router': {
|
|
||||||
namespace: 'ngRouter',
|
|
||||||
id: 'angular2/router'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'angular2/http',
|
id: 'angular2/http',
|
||||||
modules: {
|
references: ['./angular2.d.ts'],
|
||||||
'angular2/http': {
|
remapTypes: {Type: 'ng.Type', Observable: 'ng.Observable', EventEmitter: 'ng.EventEmitter'},
|
||||||
namespace: 'ngHttp',
|
modules: {'angular2/http': {namespace: 'ngHttp', id: 'angular2/http'}}
|
||||||
id: 'angular2/http'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
|
@ -43,7 +43,6 @@ export {
|
||||||
RequestModesOpts
|
RequestModesOpts
|
||||||
} from './src/http/enums';
|
} from './src/http/enums';
|
||||||
export {URLSearchParams} from './src/http/url_search_params';
|
export {URLSearchParams} from './src/http/url_search_params';
|
||||||
export {EventEmitter, Observable} from './src/core/facade/async';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a basic set of injectables to use the {@link Http} service in any application.
|
* Provides a basic set of injectables to use the {@link Http} service in any application.
|
||||||
|
|
Loading…
Reference in New Issue