Browse Source

chore: add types

Kyle Fang 5 years ago
parent
commit
c642cc5ded
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      package.json

+ 2
- 1
package.json View File

@@ -1,9 +1,10 @@
1 1
 {
2 2
   "name": "@zhigang1992/react-native-agora",
3
-  "version": "2.4.0-alpha-3",
3
+  "version": "v2.4.0-alpha-4",
4 4
   "description": "React Native around the Agora RTC SDKs for Android and iOS agora",
5 5
   "summary": "agora native sdk for react-native",
6 6
   "main": "lib/index.js",
7
+  "types": "lib/index.d.ts",
7 8
   "scripts": {
8 9
     "pu": "npm publish",
9 10
     "test": "echo \"Error: no test specified\" && exit 1",