Skip to content

Commit 73b004c

Browse files
authored
fix: Include TS type declarations. (#18)
1 parent 9dd2ec3 commit 73b004c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@ coverage/
44
reports/
55
docs/
66
src/
7+
.github/
8+
.circleci/
9+
.ldrelease/
10+
__tests__/
11+
reports/
12+
jest.config.js
13+
tsconfig.eslint.json
14+
.eslintrc.js
15+
tsconfig.json

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"sourceMap": true,
99
"outDir": "dist",
1010
"rootDir": "./src",
11+
"declaration": true,
12+
"declarationMap": true // enables importers to jump to source
1113
},
1214
"lib": ["es2015"]
1315
}

0 commit comments

Comments
 (0)