docs(type): Export Type so that we can link to it in our docs.

Closes #3345
This commit is contained in:
Misko Hevery
2015-07-28 14:41:36 -07:00
parent f6da89f74f
commit dad9338c82
4 changed files with 8 additions and 39 deletions

View File

@ -1,32 +0,0 @@
{% extends '../type-definition.template.html' %}
{% block staticDeclarations %}
// Angular depends transitively on these libraries.
// If you don't have them installed you can run
// $ tsd query es6-promise rx rx-lite --action install --save
///<reference path="../es6-promise/es6-promise.d.ts"/>
///<reference path="../rx/rx.d.ts"/>
interface List<T> extends Array<T> {}
interface Map<K,V> {}
interface StringMap<K,V> extends Map<K,V> {}
declare module ng {
type SetterFn = typeof Function;
type int = number;
interface Type extends Function {
new (...args): any;
}
// See https://github.com/Microsoft/TypeScript/issues/1168
class BaseException /* extends Error */ {
message: string;
stack: string;
toString(): string;
}
interface InjectableReference {}
}
{% endblock %}
declare module "angular2/angular2" {
export = ng;
}