Browse Source

add ts setting to package.json

iou90 5 years ago
parent
commit
875424de5e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      package.json

+ 2
- 0
package.json View File

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": {