Skip to content

Commit

Permalink
fix: missing type declarations + exclude tests from dist (#10)
Browse files Browse the repository at this point in the history
Trying to consume the lib I noticed TS was complaining about the missing
types.
Also it was including extra things from tests.
  • Loading branch information
jeanregisser authored Apr 19, 2024
1 parent 0a23b3a commit 841f486
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"declaration": true,
"sourceMap": true,
"strict": true,
"target": "es2021",
Expand All @@ -17,5 +18,5 @@
"forceConsistentCasingInFileNames": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]
"exclude": ["node_modules", "test", "**/*.test.ts", "**/*.e2e.ts"]
}

0 comments on commit 841f486

Please sign in to comment.