From 6c4dc15cdeb23b751cd17959885f3134a81b7ed8 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Wed, 10 Feb 2021 20:32:47 +0100 Subject: [PATCH] fix: uration in WorkspaceExtensionConfiguration --- src/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.ts b/src/util.ts index 8da5a8a..5a79223 100644 --- a/src/util.ts +++ b/src/util.ts @@ -3,7 +3,7 @@ import { TextDocument, workspace, WorkspaceConfiguration } from 'vscode'; import { KNOWN_EXTENSIONS, KNOWN_LANGUAGES } from './constants'; -type WorkspaceExtensionConfigurationuration = WorkspaceConfiguration & { +type WorkspaceExtensionConfiguration = WorkspaceConfiguration & { enabled: boolean; detailsIdling: string; detailsEditing: string; @@ -21,7 +21,7 @@ type WorkspaceExtensionConfigurationuration = WorkspaceConfiguration & { }; export function getConfig() { - return workspace.getConfiguration('discord') as WorkspaceExtensionConfigurationuration; + return workspace.getConfiguration('discord') as WorkspaceExtensionConfiguration; } export const toLower = (str: string) => str.toLocaleLowerCase();