fix: uration in WorkspaceExtensionConfiguration
This commit is contained in:
parent
ab046317f5
commit
6c4dc15cde
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import { TextDocument, workspace, WorkspaceConfiguration } from 'vscode';
|
||||||
|
|
||||||
import { KNOWN_EXTENSIONS, KNOWN_LANGUAGES } from './constants';
|
import { KNOWN_EXTENSIONS, KNOWN_LANGUAGES } from './constants';
|
||||||
|
|
||||||
type WorkspaceExtensionConfigurationuration = WorkspaceConfiguration & {
|
type WorkspaceExtensionConfiguration = WorkspaceConfiguration & {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
detailsIdling: string;
|
detailsIdling: string;
|
||||||
detailsEditing: string;
|
detailsEditing: string;
|
||||||
|
@ -21,7 +21,7 @@ type WorkspaceExtensionConfigurationuration = WorkspaceConfiguration & {
|
||||||
};
|
};
|
||||||
|
|
||||||
export function getConfig() {
|
export function getConfig() {
|
||||||
return workspace.getConfiguration('discord') as WorkspaceExtensionConfigurationuration;
|
return workspace.getConfiguration('discord') as WorkspaceExtensionConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const toLower = (str: string) => str.toLocaleLowerCase();
|
export const toLower = (str: string) => str.toLocaleLowerCase();
|
||||||
|
|
Loading…
Reference in a new issue