diff options
| author | Shulhan <ms@kilabit.info> | 2021-08-15 23:54:12 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-08-15 23:54:12 +0700 |
| commit | 19d01aa025cf672f8ea5dd18eda7bf3f2466318f (patch) | |
| tree | 22b5a7cade8f72875ed5c3da2552abfe46e51050 | |
| parent | 8b48009fd36ecbec394fb998ebce8ec9aa190760 (diff) | |
| download | pakakeh.ts-19d01aa025cf672f8ea5dd18eda7bf3f2466318f.tar.xz | |
vfs: make the is_dir field on IVfsNode to be optional
| -rw-r--r-- | vfs/vfs.d.ts | 2 | ||||
| -rw-r--r-- | vfs/vfs.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vfs/vfs.d.ts b/vfs/vfs.d.ts index 90f4c8b..6e06ca2 100644 --- a/vfs/vfs.d.ts +++ b/vfs/vfs.d.ts @@ -1,7 +1,7 @@ export interface IVfsNode { name: string; path: string; - is_dir: boolean; + is_dir?: boolean; mod_time_epoch?: number; mod_time_rfc3339?: string; size?: number; @@ -5,7 +5,7 @@ export interface IVfsNode { name: string path: string - is_dir: boolean + is_dir?: boolean mod_time_epoch?: number mod_time_rfc3339?: string |
