Add types property to indicate the main declaration file
@@ -1,6 +1,5 @@
examples/*
!examples/js/
-src/
test/
utils/
docs/
@@ -6,6 +6,7 @@
"repository": "mrdoob/three.js",
"jsnext:main": "build/three.module.js",
"module": "build/three.module.js",
+ "types": "src/Three.d.ts",
"files": [
"package.json",
"LICENSE",