Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 2fea2a6

Browse files
committed
Typescript fatal error fixed
Fix the error reported in this issue : #20
1 parent cab4dc1 commit 2fea2a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"setup": "npm install --no-optional && npm run typings-install",
1010
"setup-demo": "npm install --no-optional angular2@2.0.0-beta.12 es6-promise@^3.1.2 es6-shim@0.35.0 reflect-metadata@0.1.2 rxjs@5.0.0-beta.2 zone.js@^0.6.6",
1111
"build": "npm run clean && tsc",
12-
"build_demo": "tsc typings/browser.d.ts demo/main.ts demo/app_ui.ts --module commonjs -t es5 --experimentalDecorators --emitDecoratorMetadata",
12+
"build_demo": "tsc typings/index.d.ts demo/main.ts demo/app_ui.ts --module commonjs -t es5 --experimentalDecorators --emitDecoratorMetadata",
1313
"test": "echo Not supported yet",
1414
"demo": "npm run build && npm run build_demo && electron ./demo",
1515
"start": "npm run demo"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "node"
1212
},
1313
"files": [
14-
"typings/browser.d.ts",
14+
"typings/index.d.ts",
1515
"./src/renderer.ts",
1616
"./src/main.ts"
1717
]

typings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@angular2/electron",
33
"devDependencies": {},
4-
"ambientDependencies": {
4+
"globalDependencies": {
55
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2",
66
"github-electron": "github:DefinitelyTyped/DefinitelyTyped/github-electron/github-electron.d.ts#f16c4922a7dd6d359a197e4cc5103463ba68cf9e",
77
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#138ad74b9e8e6c08af7633964962835add4c91e2"

0 commit comments

Comments
 (0)