@formatjs/intl-listformat
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -53,6 +53,6 @@ import { ListPatternLocaleData, ListPatternFieldsData, LiteralPart } from '@formatjs/ecma402-abstract'; | ||
} | ||
export declare type Part = LiteralPart | ElementPart; | ||
export interface ElementPart { | ||
export declare type Part<T = string> = LiteralPart | ElementPart | ElementPart<T>; | ||
export interface ElementPart<T = string> { | ||
type: 'element'; | ||
value: string; | ||
value: T; | ||
} | ||
@@ -59,0 +59,0 @@ export default class ListFormat { |
@@ -53,6 +53,6 @@ import { ListPatternLocaleData, ListPatternFieldsData, LiteralPart } from '@formatjs/ecma402-abstract'; | ||
} | ||
export declare type Part = LiteralPart | ElementPart; | ||
export interface ElementPart { | ||
export declare type Part<T = string> = LiteralPart | ElementPart | ElementPart<T>; | ||
export interface ElementPart<T = string> { | ||
type: 'element'; | ||
value: string; | ||
value: T; | ||
} | ||
@@ -59,0 +59,0 @@ export default class ListFormat { |
{ | ||
"name": "@formatjs/intl-listformat", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "Formats JS list in a i18n-safe way", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/ecma402-abstract": "1.8.0", | ||
"@formatjs/ecma402-abstract": "1.9.0", | ||
"tslib": "^2.1.0" | ||
@@ -25,0 +25,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
638827
+ Added@formatjs/ecma402-abstract@1.9.0(transitive)
- Removed@formatjs/ecma402-abstract@1.8.0(transitive)