monaco-editor-i18n-plugin
Version:
A i18n plugin for the Monaco editor
19 lines (18 loc) • 517 B
TypeScript
/**
* monaco-editor-i18n-plugin
* This plugin is referenced from https://github.com/microsoft/monaco-editor/tree/main/webpack-plugin
*/
export declare namespace MonacoEditorI18nPlugin {
interface IMonacoEditorI18nPluginOpts {
/**
* window key which has locale data
* default value is '__DT_LOCALE__'
*/
windowKey: string;
/**
* get locale from localStorage
* default value is 'dt-locale'
*/
localStorageKey: string;
}
}