Skip to content

Commit a90063a

Browse files
alexeaglepetebacondarwin
authored andcommitted
chore(typing): restore some defn's now that dgeni is fixed
Closes angular#2446 Closes angular#2805
1 parent de05d1b commit a90063a

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

docs/dgeni-package/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
3030
'function',
3131
'var',
3232
'const',
33-
'enum'
33+
'enum',
34+
'type-alias'
3435
];
3536
})
3637

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% include "lib/githubLinks.html" -%}
2+
{% extends 'layout/base.template.html' %}
3+
4+
{% block body %}
5+
<h1>{$ doc.name $} <span class="type">type alias</span></h1>
6+
<p class="module">exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }<br/>
7+
defined in {$ githubViewLink(doc) $}</p>
8+
<p>{$ doc.description | marked $}</p>
9+
10+
{% endblock %}
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
import {Type} from 'angular2/src/facade/lang';
22
import {List} from 'angular2/src/facade/collection';
33

4-
export {Function as GetterFn};
5-
export {Function as SetterFn};
6-
export {Function as MethodFn};
7-
8-
// TODO replace once dgeni is fixed
9-
/**
104
export type SetterFn = (obj: any, value: any) => void;
115
export type GetterFn = (obj: any) => any;
126
export type MethodFn = (obj: any, args: List<any>) => any;
13-
**/

0 commit comments

Comments
 (0)