angular2: Fix typings for decorators

This commit is contained in:
Alex Eagle
2015-06-05 22:13:58 -07:00
parent 8c7444882a
commit 9d6d25287e
2 changed files with 135 additions and 850 deletions
+10
View File
@@ -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()'
}
})
];
+125 -850
View File
File diff suppressed because it is too large Load Diff