fix(build): add config for outputting the missing test_lib.d.ts file
This commit is contained in:
parent
687e7b565f
commit
f6108c54ec
|
@ -42,7 +42,8 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
|
|||
'angular2/web_worker/worker.ts',
|
||||
'angular2/web_worker/ui.ts',
|
||||
'angular2/router.ts',
|
||||
'angular2/http.ts'
|
||||
'angular2/http.ts',
|
||||
'angular2/test_lib.ts'
|
||||
];
|
||||
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../modules'));
|
||||
|
||||
|
@ -67,6 +68,20 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
|
|||
references: ['./angular2.d.ts'],
|
||||
remapTypes: {Type: 'ng.Type', Observable: 'ng.Observable', EventEmitter: 'ng.EventEmitter'},
|
||||
modules: {'angular2/http': {namespace: 'ngHttp', id: 'angular2/http'}}
|
||||
},
|
||||
{
|
||||
id: 'angular2/test_lib',
|
||||
references: ['./angular2.d.ts', '../jasmine/jasmine.d.ts'],
|
||||
remapTypes: {
|
||||
Type: 'ng.Type',
|
||||
Binding: 'ng.Binding',
|
||||
ViewMetadata: 'ng.ViewMetadata',
|
||||
Injector: 'ng.Injector',
|
||||
Predicate: 'ng.Predicate',
|
||||
ElementRef: 'ng.ElementRef',
|
||||
|
||||
},
|
||||
modules: {'angular2/test_lib': {namespace: 'ngTestLib', id: 'angular2/test_lib'}}
|
||||
}
|
||||
];
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue