Publish our minimal .d.ts file for the quickstart

This commit is contained in:
Alex Eagle
2015-05-07 20:26:21 -07:00
parent 6fb56c5277
commit 7274998be7
2 changed files with 629 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/// <reference path="angular2.d.ts"/>
// Use Typescript 1.4 style imports
import ng = require("angular2/angular2");
class Service {
}
class Cmp {
static annotations: any[];
}
Cmp.annotations = [
ng.Component({
selector: 'cmp',
injectables: [Service]
}),
ng.View({
template: '{{greeting}} world!',
directives: [ng.For, ng.If]
})
];
ng.bootstrap(Cmp);