Fixed return types of getAllExternalFilesDirs
This commit is contained in:
parent
fd39484c75
commit
23c06911b0
|
@ -201,7 +201,7 @@ var RNFS = {
|
|||
return RNFSManager.getFSInfo();
|
||||
},
|
||||
|
||||
getAllExternalFilesDirs(): Promise<FSInfoResult> {
|
||||
getAllExternalFilesDirs(): Promise<string> {
|
||||
return RNFSManager.getAllExternalFilesDirs();
|
||||
},
|
||||
|
||||
|
|
|
@ -654,7 +654,7 @@ type FSInfoResult = {
|
|||
};
|
||||
```
|
||||
|
||||
### `getAllExternalFilesDirs(): Promise<ExternalFilesDirs>`
|
||||
### `getAllExternalFilesDirs(): Promise<string>`
|
||||
|
||||
Returns an array with the absolute paths to application-specific directories on all shared/external storage devices where the application can place persistent files it owns.
|
||||
|
||||
|
|
Loading…
Reference in New Issue