Skip to content

Commit 6b7134b

Browse files
committed
Work around inability to use declaration files.
Declaration files can only express a subset of TS. microsoft/TypeScript#35822
1 parent 9a24ce4 commit 6b7134b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "reactor-ts",
33
"version": "0.1.0",
44
"description": "Reactor runtime written in TypeScript",
5-
"main": "lib/index.js",
5+
"main": "lib/core/index.js",
6+
"type": "commonjs",
7+
"types": "src",
68
"dependencies": {
79
"@definitelytyped/header-parser": "0.0.29",
810
"@definitelytyped/typescript-versions": "0.0.29",
@@ -36,12 +38,9 @@
3638
"typedoc": "^0.21.4",
3739
"typescript": "^4.3.5"
3840
},
39-
"files": [
40-
"lib"
41-
],
4241
"scripts": {
4342
"check-types": "tsc",
44-
"build": "rm -rf dist lib && babel src --out-dir lib --extensions .ts",
43+
"install": "rm -rf lib && babel src --out-dir lib --extensions .ts",
4544
"deploy": "npm run build && npm run doc",
4645
"doc": "typedoc --exclude \"**/+(example|benchmark|share)/**/*.ts\" --out docs src && touch docs/.nojekyll",
4746
"dtslint": "dtslint __tests__/types",

src/core/README.md

-1
This file was deleted.

src/core/internal.ts

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ export * from "./reactor"
1313
export * from "./bank"
1414
export * from "./event"
1515
export * from "./cli"
16-

0 commit comments

Comments
 (0)