Selaa lähdekoodia

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 6 vuotta sitten
vanhempi
commit
cc86baf790
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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",