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',
|
||||
references: ['../es6-promise/es6-promise.d.ts', '../rx/rx.d.ts'],
|
||||
modules: {
|
||||
'angular2/angular2': {
|
||||
namespace: 'ng',
|
||||
id: 'angular2/angular2'
|
||||
},
|
||||
'angular2/web_worker/worker': {
|
||||
namespace: 'ngWorker',
|
||||
id: 'angular2/web_worker/worker'
|
||||
},
|
||||
'angular2/web_worker/ui': {
|
||||
namespace: 'ngUi',
|
||||
id: 'angular2/web_worker/ui'
|
||||
}
|
||||
'angular2/angular2': {namespace: 'ng', id: 'angular2/angular2'},
|
||||
'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',
|
||||
references: ['./angular2.d.ts'],
|
||||
remapTypes: {Type: 'ng.Type'},
|
||||
modules: {
|
||||
'angular2/router': {
|
||||
namespace: 'ngRouter',
|
||||
id: 'angular2/router'
|
||||
}
|
||||
}
|
||||
modules: {'angular2/router': {namespace: 'ngRouter', id: 'angular2/router'}}
|
||||
},
|
||||
{
|
||||
id: 'angular2/http',
|
||||
modules: {
|
||||
'angular2/http': {
|
||||
namespace: 'ngHttp',
|
||||
id: 'angular2/http'
|
||||
}
|
||||
}
|
||||
references: ['./angular2.d.ts'],
|
||||
remapTypes: {Type: 'ng.Type', Observable: 'ng.Observable', EventEmitter: 'ng.EventEmitter'},
|
||||
modules: {'angular2/http': {namespace: 'ngHttp', id: 'angular2/http'}}
|
||||
}
|
||||
];
|
||||
})
|
||||
|
|
|
@ -43,7 +43,6 @@ export {
|
|||
RequestModesOpts
|
||||
} from './src/http/enums';
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue