Skip to content

Commit 9ba8213

Browse files
committed
chore: add declaration file generation
1 parent fcfb358 commit 9ba8213

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"url": "https://github.com/devsheva"
88
},
99
"main": "dist/logger.js",
10+
"types": "dist/logger.d.ts",
1011
"description": "A simple logging library",
1112
"devDependencies": {
1213
"@vitest/coverage-v8": "^2.0.5",

tsconfig.build.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"declaration": true
5+
},
36
"exclude": [
47
"spec/**/*.ts",
58
"test/**/*.ts"

0 commit comments

Comments
 (0)