浏览代码

chore: add types

Kyle Fang 5 年前
父节点
当前提交
c642cc5ded
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      package.json

+ 2
- 1
package.json 查看文件

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