From d4d0b5d90c8abc5867a389129ee185b2c1cf0f0f Mon Sep 17 00:00:00 2001 From: dubiousjim Date: Tue, 31 Mar 2020 13:46:25 -0400 Subject: Properly track isFile, isSymlink, isDirectory (#4541) * Properly track isFile, isSymlink, isDirectory These don't exhaust all the possibilities, so none of them should be defined as "neither of the others". * empty --- cli/js/ops/fs/stat.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/js/ops/fs') diff --git a/cli/js/ops/fs/stat.ts b/cli/js/ops/fs/stat.ts index f455484c1..5d8860939 100644 --- a/cli/js/ops/fs/stat.ts +++ b/cli/js/ops/fs/stat.ts @@ -4,6 +4,7 @@ import { FileInfo, FileInfoImpl } from "../../file_info.ts"; export interface StatResponse { isFile: boolean; + isDirectory: boolean; isSymlink: boolean; size: number; modified: number; -- cgit v1.2.3