mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
angular2: Fix typings for decorators
This commit is contained in:
@@ -21,6 +21,16 @@ Cmp.annotations = [
|
||||
ng.View({
|
||||
template: '{{greeting}} world!',
|
||||
directives: [ng.NgFor, ng.NgIf]
|
||||
}),
|
||||
ng.Directive({
|
||||
selector: '[tooltip]',
|
||||
properties: [
|
||||
'text: tooltip'
|
||||
],
|
||||
hostListeners: {
|
||||
'onmouseenter': 'onMouseEnter()',
|
||||
'onmouseleave': 'onMouseLeave()'
|
||||
}
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
975
angular2/angular2.d.ts
vendored
975
angular2/angular2.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user