RonRadtke / react-native-blob-util

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
709 stars 123 forks source link

pathForAppGroup typescript error #351

Open hengkx opened 1 month ago

hengkx commented 1 month ago

https://github.com/RonRadtke/react-native-blob-util/blob/master/fs.js#L143

hengkx commented 1 month ago
diff --git a/node_modules/react-native-blob-util/index.d.ts b/node_modules/react-native-blob-util/index.d.ts
index 76776ac..bd3f285 100644
--- a/node_modules/react-native-blob-util/index.d.ts
+++ b/node_modules/react-native-blob-util/index.d.ts
@@ -456,6 +456,12 @@ export interface FS {
     asset(path: string): string;

     df(): Promise<RNFetchBlobDf>;
+
+    /**
+     * Returns the path for the app group.
+     * @param  {string} groupName Name of app group
+     */
+    pathForAppGroup(groupName: string): Promise<string>;
 }

 export interface RNFetchBlobDfIOS {