mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Merge pull request #4563 from angular/angular2
Update angular2.d.ts for alpha.26
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
// Use Typescript 1.4 style imports
|
||||
import ng = require("angular2/angular2");
|
||||
import di = require("angular2/di");
|
||||
|
||||
class Service {
|
||||
|
||||
@@ -17,11 +16,11 @@ class Cmp {
|
||||
Cmp.annotations = [
|
||||
ng.Component({
|
||||
selector: 'cmp',
|
||||
injectables: [Service, di.bind(Service2).toValue(null)]
|
||||
injectables: [Service, ng.bind(Service2).toValue(null)]
|
||||
}),
|
||||
ng.View({
|
||||
template: '{{greeting}} world!',
|
||||
directives: [ng.For, ng.If]
|
||||
directives: [ng.NgFor, ng.NgIf]
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
5556
angular2/angular2.d.ts
vendored
5556
angular2/angular2.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user