Skip to content

Commit cc86baf

Browse files
authored
Add types property to indicate the main declaration file
Add `types` property to indicate the main declaration file. [docs](http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html)
1 parent 4ba0a98 commit cc86baf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: package.json

+1
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)