Skip to content

Commit

Permalink
Work around inability to use declaration files.
Browse files Browse the repository at this point in the history
Declaration files can only express a subset of TS.
microsoft/TypeScript#35822
  • Loading branch information
petervdonovan committed Aug 22, 2022
1 parent 9a24ce4 commit 6b7134b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "reactor-ts",
"version": "0.1.0",
"description": "Reactor runtime written in TypeScript",
"main": "lib/index.js",
"main": "lib/core/index.js",
"type": "commonjs",
"types": "src",
"dependencies": {
"@definitelytyped/header-parser": "0.0.29",
"@definitelytyped/typescript-versions": "0.0.29",
Expand Down Expand Up @@ -36,12 +38,9 @@
"typedoc": "^0.21.4",
"typescript": "^4.3.5"
},
"files": [
"lib"
],
"scripts": {
"check-types": "tsc",
"build": "rm -rf dist lib && babel src --out-dir lib --extensions .ts",
"install": "rm -rf lib && babel src --out-dir lib --extensions .ts",
"deploy": "npm run build && npm run doc",
"doc": "typedoc --exclude \"**/+(example|benchmark|share)/**/*.ts\" --out docs src && touch docs/.nojekyll",
"dtslint": "dtslint __tests__/types",
Expand Down
1 change: 0 additions & 1 deletion src/core/README.md

This file was deleted.

1 change: 0 additions & 1 deletion src/core/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ export * from "./reactor"
export * from "./bank"
export * from "./event"
export * from "./cli"

0 comments on commit 6b7134b

Please sign in to comment.