浏览代码

add ts setting to package.json

iou90 6 年前
父节点
当前提交
875424de5e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      package.json

+ 2
- 0
package.json 查看文件

3
   "version": "1.1.5",
3
   "version": "1.1.5",
4
   "description": "An auto height webview for React Native, even auto width for inline html",
4
   "description": "An auto height webview for React Native, even auto width for inline html",
5
   "main": "autoHeightWebView",
5
   "main": "autoHeightWebView",
6
+  "types": "index.d.ts",
6
   "files": [
7
   "files": [
7
     "index.js",
8
     "index.js",
9
+    "index.d.ts",
8
     "autoHeightWebView"
10
     "autoHeightWebView"
9
   ],
11
   ],
10
   "scripts": {
12
   "scripts": {