Last active
August 29, 2015 14:21
-
-
Save okunokentaro/3e47319baf0555bc32ae to your computer and use it in GitHub Desktop.
angular2.d.ts 自分用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "angular2/angular2" { | |
export function Directive(arg: any); | |
export function Component(arg: any); | |
export function View(arg: any); | |
export function bootstrap(...args: any[]); | |
export function bind(...args: any[]): any; | |
export function onChange(...args: any[]): any; | |
export class PropertyUpdate{} | |
export class NgFor{} | |
export class Pipe{} | |
export class PipeRegistry{ | |
constructor(_: any); | |
} | |
export class ViewContainerRef{ | |
get(idn: number): any; | |
element: { | |
domElement: HTMLElement; | |
}; | |
} | |
export class ChangeDetectorRef{ | |
detach(): void; | |
reattach(): void; | |
requestCheck(): void; | |
} | |
} | |
declare module "angular2/change_detection" { | |
export var defaultPipes: any; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment