fix: uration in WorkspaceExtensionConfiguration

This commit is contained in:
iCrawl 2021-02-10 20:32:47 +01:00
parent ab046317f5
commit 6c4dc15cde
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2

View file

@ -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();