diff --git a/docs/dgeni-package/index.js b/docs/dgeni-package/index.js index 683c670620..fca60b6976 100644 --- a/docs/dgeni-package/index.js +++ b/docs/dgeni-package/index.js @@ -30,7 +30,8 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac 'function', 'var', 'const', - 'enum' + 'enum', + 'type-alias' ]; }) diff --git a/docs/dgeni-package/templates/type-alias.template.html b/docs/dgeni-package/templates/type-alias.template.html new file mode 100644 index 0000000000..7f0ea6399f --- /dev/null +++ b/docs/dgeni-package/templates/type-alias.template.html @@ -0,0 +1,10 @@ +{% include "lib/githubLinks.html" -%} +{% extends 'layout/base.template.html' %} + +{% block body %} +
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
+defined in {$ githubViewLink(doc) $}
{$ doc.description | marked $}
+ +{% endblock %} \ No newline at end of file diff --git a/modules/angular2/src/reflection/types.ts b/modules/angular2/src/reflection/types.ts index f416eda1b3..b94568f7a8 100644 --- a/modules/angular2/src/reflection/types.ts +++ b/modules/angular2/src/reflection/types.ts @@ -1,13 +1,6 @@ import {Type} from 'angular2/src/facade/lang'; import {List} from 'angular2/src/facade/collection'; -export {Function as GetterFn}; -export {Function as SetterFn}; -export {Function as MethodFn}; - -// TODO replace once dgeni is fixed -/** export type SetterFn = (obj: any, value: any) => void; export type GetterFn = (obj: any) => any; export type MethodFn = (obj: any, args: List