From f2b3ff0806950bc198b420139b26c715aef9a12a Mon Sep 17 00:00:00 2001 From: Joseph Roque Date: Thu, 9 Nov 2017 21:06:36 -0500 Subject: [PATCH] [react-native-fs] Change utime to mtime, make mtime optional --- types/react-native-fs/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-native-fs/index.d.ts b/types/react-native-fs/index.d.ts index 8c7945010d..48a7fb6c70 100644 --- a/types/react-native-fs/index.d.ts +++ b/types/react-native-fs/index.d.ts @@ -11,7 +11,7 @@ export interface ReadDirItem { // The creation date of the file (iOS only) ctime: Date | undefined; // The last modified date of the file - mtime: Date; + mtime: Date | undefined; // The name of the item name: string; // The absolute path to the item @@ -36,7 +36,7 @@ export interface StatResult { // Created date ctime: number; // Updated date - utime: number; + mtime: number; // Is the file just a file? isFile(): boolean; // Is the file a directory?