Skip to content

Commit 5ae333b

Browse files
committed
Support typescript in library
1 parent 8e842a8 commit 5ae333b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"author": "Chris Le (TRIODE)",
1414
"license": "GNU GPLv3",
1515
"main": "dist/index.js",
16+
"types": "dist/index.d.ts",
17+
"files": ["/dist"],
1618
"dependencies": {
1719
"better-sqlite3": "^7.5.0",
1820
"console-stamp": "^3.0.3",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"alwaysStrict": true,
99
"noImplicitAny": true,
1010
"noUnusedLocals": true,
11-
"noUnusedParameters": true
11+
"noUnusedParameters": true,
12+
"declaration": true
1213
}
1314
}

0 commit comments

Comments
 (0)