Skip to content

Commit

Permalink
Locking version of typescript used to generate definitions as later v…
Browse files Browse the repository at this point in the history
…ersions do not work on the LightState object properly
  • Loading branch information
peter-murray committed Jul 31, 2020
1 parent 7806aa4 commit 3fa444c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"test-api": "mocha --timeout 5000 --recursive \"lib/api/**/*.test.js\"",
"test-types": "mocha --recursive \"lib/types/*.test.js\"",
"generate-webpack-files": "npx webpack --config webpack.model.config.js",
"clean-ts-definitions": "npx rimraf **/*.d.ts",
"generate-ts-definitions": "npm run clean-ts-definitions && npx typescript index.js --allowJs --declaration --emitDeclarationOnly",
"clean-ts-definitions": "find . -type f -name '*.d.ts' -exec rm {} \\;",
"generate-ts-definitions": "npm run clean-ts-definitions && npx typescript@3.8.3 index.js --allowJs --strict --declaration --emitDeclarationOnly --listEmittedFiles",
"prepublishOnly": "npm run generate-ts-definitions"
},
"repository": {
Expand Down

0 comments on commit 3fa444c

Please sign in to comment.