mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-30 23:30:06 +00:00
fix i18n-node/i18n-node.d.ts
This commit is contained in:
13
i18n-node/i18n-node.d.ts
vendored
13
i18n-node/i18n-node.d.ts
vendored
@@ -22,29 +22,34 @@ declare module i18n {
|
||||
*/
|
||||
directory?: string;
|
||||
|
||||
/**
|
||||
/**
|
||||
* whether to write new locale information to disk
|
||||
* @default true
|
||||
*/
|
||||
updateFiles?: boolean;
|
||||
|
||||
/**
|
||||
/**
|
||||
* What to use as the indentation unit
|
||||
* @default "\t"
|
||||
*/
|
||||
indent?: string;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Setting extension of json files (you might want to set this to '.js' according to webtranslateit)
|
||||
* @default ".json"
|
||||
*/
|
||||
extension?: string;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Enable object notation
|
||||
* @default false
|
||||
*/
|
||||
objectNotation?: boolean;
|
||||
|
||||
/**
|
||||
* json files prefix
|
||||
*/
|
||||
prefix?: string;
|
||||
}
|
||||
export interface TranslateOptions {
|
||||
phrase: string;
|
||||
|
||||
Reference in New Issue
Block a user