mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Fix cyclic dependency
This commit is contained in:
parent
b3beae902d
commit
69a2c9e376
1 changed files with 15 additions and 1 deletions
|
|
@ -5,7 +5,21 @@
|
||||||
|
|
||||||
import {LocalizeInfo, LocalizeFunc, Options, LoadFunc} from 'vscode-nls';
|
import {LocalizeInfo, LocalizeFunc, Options, LoadFunc} from 'vscode-nls';
|
||||||
|
|
||||||
export {LocalizeInfo, LocalizeFunc, Options, LoadFunc};
|
export interface Options {
|
||||||
|
locale?: string;
|
||||||
|
cacheLanguageResolution?: boolean;
|
||||||
|
}
|
||||||
|
export interface LocalizeInfo {
|
||||||
|
key: string;
|
||||||
|
comment: string[];
|
||||||
|
}
|
||||||
|
export interface LocalizeFunc {
|
||||||
|
(info: LocalizeInfo, message: string, ...args: any[]): string;
|
||||||
|
(key: string, message: string, ...args: any[]): string;
|
||||||
|
}
|
||||||
|
export interface LoadFunc {
|
||||||
|
(file?: string): LocalizeFunc;
|
||||||
|
}
|
||||||
|
|
||||||
function format(message: string, args: any[]): string {
|
function format(message: string, args: any[]): string {
|
||||||
let result:string;
|
let result:string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue