mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-03-01 07:20:33 +00:00
commit
1de497ab7a
@ -118,9 +118,7 @@ type FSInfoResult = {
|
|||||||
|
|
||||||
var RNFS = {
|
var RNFS = {
|
||||||
|
|
||||||
mkdir(filepath: string, options: MkdirOptions): Promise<void> {
|
mkdir(filepath: string, options: MkdirOptions = {}): Promise<void> {
|
||||||
options = options || {};
|
|
||||||
|
|
||||||
return RNFSManager.mkdir(filepath, options).then(() => void 0);
|
return RNFSManager.mkdir(filepath, options).then(() => void 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user