lucid-extension-sdk
Advanced tools
Comparing version 0.0.105 to 0.0.106
@@ -36,1 +36,27 @@ /** @ignore */ | ||
} | ||
declare class I18nSafeString { | ||
public value: string; | ||
constructor(str: string); | ||
} | ||
declare interface I18nFormattedNumberParams { | ||
useGrouping?: boolean; | ||
minimumIntegerDigits?: number; | ||
minimumFractionDigits?: number; | ||
maximumFractionDigits?: number; | ||
} | ||
declare class I18nFormattedNumber {} | ||
declare interface I18nReplacement { | ||
[s: string]: number | string | I18nSafeString | I18nFormattedNumber; | ||
} | ||
declare namespace i18n { | ||
function setData(data: {[key: string]: string}, language: string): void; | ||
function get(key: string, replacements?: I18nReplacement, wrappers?: string[], gender?: string): string; | ||
function getLanguage(): string; | ||
function getInLocale(locale: string, key: string, replacements?: I18nReplacement, wrappers?: string[]): string; | ||
function formatNumber(value: number, params: I18nFormattedNumberParams): I18nFormattedNumber; | ||
} |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.105", | ||
"version": "0.0.106", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "sdk/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
485386
11259