Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

chore(typescript): Upgrade to 2.0 & Types #258

Closed
wants to merge 10 commits into from
5 changes: 3 additions & 2 deletions templates/Angular2Spa/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "WebApplicationBasic",
"name": "angular2-spa",
"version": "0.0.0",
"dependencies": {
"@types/requirejs": "^2.1.26",
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
Expand All @@ -28,7 +29,7 @@
"rxjs": "5.0.0-beta.6",
"style-loader": "^0.13.0",
"ts-loader": "^0.8.1",
"typescript": "^1.8.2",
"typescript": "^2.0.0",
"url-loader": "^0.5.7",
"webpack": "^1.12.14",
"webpack-externals-plugin": "^1.0.0",
Expand Down
7 changes: 6 additions & 1 deletion templates/Angular2Spa/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es5",
"lib": ["es6", "dom"],
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipDefaultLibCheck": true
"skipDefaultLibCheck": true,
"typeRoots": [ "node_modules/@types" ],
"types": [ "requirejs" ]
},
"compileOnSave": false,
"buildOnSave": false,
"exclude": [
"bin",
"node_modules"
Expand Down
15 changes: 0 additions & 15 deletions templates/Angular2Spa/tsd.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
declare module 'url' {
export interface Url {}
}

declare var module: {
id: string;
};
Loading