FormatterOptions.d.ts 327 B

1234567
  1. import { ComplexFormatterOptions, FormatterType } from './FormatterFactory';
  2. declare type ComplexFormatterPreferences<T extends FormatterType = FormatterType> = {
  3. type: T;
  4. options?: ComplexFormatterOptions<T>;
  5. };
  6. declare type FormatterOptions = FormatterType | ComplexFormatterPreferences;
  7. export { FormatterOptions };