@formatjs/intl-durationformat 0.12.0 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- //#region packages/ecma402-abstract/types/duration.d.ts
2
1
  interface DurationInput {
3
2
  years?: number;
4
3
  months?: number;
@@ -62,8 +61,6 @@ interface DurationFormat$1 {
62
61
  formatToParts(duration: DurationInput | string): DurationFormatPart[];
63
62
  format(duration: DurationInput | string): string;
64
63
  }
65
- //#endregion
66
- //#region packages/intl-durationformat/types.d.ts
67
64
  interface RawDurationLocaleData {
68
65
  data: DurationFormatLocaleInternalData;
69
66
  locale: string;
@@ -110,8 +107,6 @@ interface DurationFormatConstructor {
110
107
  availableLocales: Set<string>;
111
108
  polyfilled: boolean;
112
109
  }
113
- //#endregion
114
- //#region packages/intl-durationformat/core.d.ts
115
110
  /**
116
111
  * DurationFormat provides locale-sensitive duration formatting
117
112
  * Implements the Intl.DurationFormat API from the TC39 proposal
@@ -128,6 +123,5 @@ export declare class DurationFormat implements DurationFormat$1 {
128
123
  static getDefaultLocale: () => string;
129
124
  static polyfilled: boolean;
130
125
  }
131
- //#endregion
132
126
  export type { DurationFormatConstructor, DurationFormatLocaleInternalData, DurationFormatOptions, DurationFormatPart, DurationInput, DurationRecord, IntlDurationFormatInternal, RawDurationLocaleData, ResolvedDurationFormatOptions };
133
127
  //# sourceMappingURL=index.d.ts.map