interface List extends Array {
}
interface Type {}
declare module "angular2/angular2" {
function bootstrap(appComponentType: any): void;
function Component({
selector,
properties,
hostListeners,
injectables,
lifecycle,
changeDetection
}:{
selector:string,
properties?:Object,
hostListeners?:Object,
injectables?:List,
lifecycle?:List,
changeDetection?:string
});
function View({
templateUrl,
template,
directives,
formatters,
source,
locale,
device
}: {
templateUrl?: string,
template?: string,
directives?: List,
formatters?: List,
source?: List,
locale?: string,
device?: string
});
function For();
function If();
}
declare module "angular2/di" {
export function bind(token: any): any;
}