Skip to content

Commit 854f91b

Browse files
authored
Merge pull request #15700 from hujiulong/patch-1
Add types property to indicate the main declaration file
2 parents 0f67138 + ccd86cc commit 854f91b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
examples/*
22
!examples/js/
3-
src/
43
test/
54
utils/
65
docs/

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"repository": "mrdoob/three.js",
77
"jsnext:main": "build/three.module.js",
88
"module": "build/three.module.js",
9+
"types": "src/Three.d.ts",
910
"files": [
1011
"package.json",
1112
"LICENSE",

0 commit comments

Comments
 (0)