chore(typing): restore some defn's now that dgeni is fixed

Closes #2446
Closes #2805
This commit is contained in:
Alex Eagle 2015-06-30 18:10:14 -07:00 committed by Peter Bacon Darwin
parent de05d1bf46
commit a90063a827
3 changed files with 12 additions and 8 deletions

View File

@ -30,7 +30,8 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
'function',
'var',
'const',
'enum'
'enum',
'type-alias'
];
})

View File

@ -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 %}

View File

@ -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;
**/