From c9b583945c1cb5267b41a821743590a841572abe Mon Sep 17 00:00:00 2001 From: Marco Rodolfi Date: Tue, 27 Jun 2023 15:38:04 +0200 Subject: [PATCH] fix: the typescript compiler was eating the enum If not defined with a const keyword --- src/plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.tsx b/src/plugin.tsx index ad8fa0d..50b2021 100644 --- a/src/plugin.tsx +++ b/src/plugin.tsx @@ -57,7 +57,7 @@ export interface FilePickerRes { realpath: string; } -export enum FileSelectionType { +export const enum FileSelectionType { FILE, FOLDER, }