Skip to content

Commit dd8dab6

Browse files
committed
Specify types in package.json
Using this package in a Typescript project currently requires adding a module declaration because the package does not provide any types. This should fix that.
1 parent a489db9 commit dd8dab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.2",
44
"description": "Validator module powered by validate-with-xmllint",
55
"main": "build/index.js",
6+
"types": "build/index.d.ts",
67
"scripts": {
78
"build": "yarn run clean && yarn run cp-schemas && tsc",
89
"cp-schemas": "mkdir -p build/schemas && cp -R schemas build",

0 commit comments

Comments
 (0)