Fixed return types of getAllExternalFilesDirs

This commit is contained in:
Hagen Hübel 2017-12-10 14:53:39 +01:00
parent fd39484c75
commit 23c06911b0
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ var RNFS = {
return RNFSManager.getFSInfo();
},
getAllExternalFilesDirs(): Promise<FSInfoResult> {
getAllExternalFilesDirs(): Promise<string> {
return RNFSManager.getAllExternalFilesDirs();
},

View File

@ -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.