chore(typing): restore some defn's now that dgeni is fixed
Closes #2446 Closes #2805
This commit is contained in:
parent
de05d1bf46
commit
a90063a827
|
@ -30,7 +30,8 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
|
|||
'function',
|
||||
'var',
|
||||
'const',
|
||||
'enum'
|
||||
'enum',
|
||||
'type-alias'
|
||||
];
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{% include "lib/githubLinks.html" -%}
|
||||
{% extends 'layout/base.template.html' %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{$ doc.name $} <span class="type">type alias</span></h1>
|
||||
<p class="module">exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }<br/>
|
||||
defined in {$ githubViewLink(doc) $}</p>
|
||||
<p>{$ doc.description | marked $}</p>
|
||||
|
||||
{% endblock %}
|
|
@ -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<any>) => any;
|
||||
**/
|
||||
|
|
Loading…
Reference in New Issue