Pārlūkot izejas kodu

chore: add types

Kyle Fang 5 gadus atpakaļ
vecāks
revīzija
c642cc5ded
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      package.json

+ 2
- 1
package.json Parādīt failu

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