Skip to content

Commit e905450

Browse files
jesseditsonjcubic
authored andcommitted
Include types in npm
Since package.json includes a "files" key, only the files included in it will be included when installing via npm. The new types won't get picked up by npm unless we add it to the allowlist.
1 parent e1f4e3a commit e905450

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
@@ -47,6 +47,7 @@
4747
},
4848
"files": [
4949
"**/*.js",
50+
"index.d.ts",
5051
"!__tests__",
5152
"!coverage"
5253
],

0 commit comments

Comments
 (0)