mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
angular2: Fix typings for decorators
This commit is contained in:
parent
8c7444882a
commit
9d6d25287e
@ -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
Loading…
Reference in New Issue
Block a user