Skip to content

Commit 30dae1a

Browse files
committed
Add tsc task and fix most compile errors
1 parent 381224a commit 30dae1a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"bvd": "npm run build:vendor && npm run deploy",
3030
"lint": "tslint ./src/**/*.ts[x]",
3131
"test": "jspm run src/test-runner | faucet",
32+
"tsc": "tsc -p src",
3233
"_jspm-bundle-vendor-dev": "jspm bundle bundle-config.vendor.dev.js temp/vendor.dev.js -d",
3334
"_jspm-bundle-vendor": "jspm bundle bundle-config.vendor.js dist/vendor.js -ms",
3435
"post_jspm-bundle-vendor": "cp jspm.config.js jspm_packages/system.js dist/",

src/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4+
"skipLibCheck": true,
45
"declaration": false,
56
"jsx": "react",
67
"module": "es6",
@@ -30,7 +31,7 @@
3031
"allowJs": false,
3132
"allowSyntheticDefaultImports": true,
3233
"noImplicitUseStrict": false,
33-
"lib": ["es5", "es6", "es2016.array.include"],
34+
"lib": ["es5", "es6", "es2016.array.include", "dom", "es2016.array.include", "es2015.promise", "es2017.object", "es2015.iterable"],
3435
"strictNullChecks": false
3536
},
3637
"include": [

0 commit comments

Comments
 (0)