Skip to content

Commit

Permalink
fix: add typescript types when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
amille44420 committed Apr 14, 2021
1 parent 61ed2ff commit ba5b552
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// @ts-ignore
// eslint-disable-next-line import/no-unresolved
export * from './build';
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"files": [
"build",
"index.js",
"index.d.ts",
"package.json",
"yarn.lock",
"README.md"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"compilerOptions": {
// "composite": true,
// "composite": true,
"target": "es2016",
"module": "commonjs",
"outDir": "build",
"moduleResolution": "node",
"esModuleInterop": true,
"sourceMap": true,
// "declaration": true,
"declaration": true,
//"declarationMap": true,
"removeComments": true,
"strict": true,
Expand Down

0 comments on commit ba5b552

Please sign in to comment.