Explorar o código

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)
Jiulong Hu %!s(int64=6) %!d(string=hai) anos
pai
achega
cc86baf790
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -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",