api-builder: add project specific typescript configuration

This commit is contained in:
Peter Bacon Darwin 2016-05-11 09:33:59 +01:00 committed by Ward Bell
parent ac583748d1
commit 92ca0f3a9f
1 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,14 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
'*/src/**/*.@(js|es6|ts)' '*/src/**/*.@(js|es6|ts)'
]; ];
readTypeScriptModules.basePath = path.resolve(angular_repo_path, 'modules'); readTypeScriptModules.basePath = path.resolve(angular_repo_path, 'modules');
readTypeScriptModules.ignoreExportsMatching = [
'___esModule',
'___core_private_types__',
'___platform_browser_private__',
'___compiler_private__',
'__core_private__',
'___core_private__'
];
}) })