diff --git a/decls/i18n.js b/decls/i18n.js index 83d3193c2..8b468c610 100644 --- a/decls/i18n.js +++ b/decls/i18n.js @@ -65,6 +65,7 @@ declare type I18nOptions = { pluralizationRules?: { [lang: string]: (choice: number, choicesLength: number) => number, }, + preserveDirectiveContent?: boolean, }; declare type IntlAvailability = { @@ -106,7 +107,8 @@ declare interface I18n { n (value: number, ...args: any): NumberFormatResult, pluralizationRules: { [lang: string]: (choice: number, choicesLength: number) => number - } + }, + preserveDirectiveContent: boolean }; declare interface Formatter { diff --git a/examples/directive/index.html b/examples/directive/index.html index 723645f48..51019d274 100644 --- a/examples/directive/index.html +++ b/examples/directive/index.html @@ -15,6 +15,17 @@
+
+