diff --git a/package.json b/package.json index 7c540abcad..173f162208 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "angular2": "2.0.0-alpha.35", "reflect-metadata": "0.1.0", "rtts_assert": "2.0.0-alpha.35", - "traceur-runtime": "0.0.59", + "traceur": "0.0.91", + "systemjs": "0.16.11", "zone.js": "0.5.2" }, "devDependencies": { @@ -26,17 +27,14 @@ "gulp-cached": "^1.1.0", "gulp-concat": "~2.5.0", "gulp-connect": "^2.2.0", - "gulp-debug": "~2.0.1", "gulp-if": "^1.2.5", "gulp-insert": "^0.5.0", - "gulp-plumber": "^1.0.0", "gulp-rename": "~1.2.0", "gulp-sass": "^2.0.4", "gulp-shell": "^0.4.0", "gulp-typescript": "^2.7.7", "gulp-util": "^3.0.6", "gulp-watch": "^4.2.4", - "gulp-wrap": "^0.11.0", "karma": "^0.12.31", "karma-chrome-launcher": "^0.1.7", "karma-jasmine": "^0.3.5", @@ -50,9 +48,7 @@ "run-sequence": "^1.1.0", "serve-static": "^1.9.2", "source-map-support": "^0.2.10", - "systemjs": "^0.16.11", "through2": "^0.6.3", - "traceur": "0.0.91", "typescript": "^1.5.3", "vinyl": "^0.4.6", "yargs": "^3.6.0" diff --git a/scripts/docs/typescript-definition-package/templates/angular2/angular2.d.ts.template.html b/scripts/docs/typescript-definition-package/templates/angular2/angular2.d.ts.template.html new file mode 100644 index 0000000000..ce9778bfdf --- /dev/null +++ b/scripts/docs/typescript-definition-package/templates/angular2/angular2.d.ts.template.html @@ -0,0 +1,17 @@ +{% extends '../type-definition.template.html' %} +{% block staticDeclarations %} + +interface List extends Array {} +interface Map {} +interface StringMap extends Map {} + +declare module ng { + // See https://github.com/Microsoft/TypeScript/issues/1168 + class BaseException /* extends Error */ { + message: string; + stack: string; + toString(): string; + } + interface InjectableReference {} +} +{% endblock %}