8 lines
327 B
TypeScript
8 lines
327 B
TypeScript
|
|
import { ComplexFormatterOptions, FormatterType } from './FormatterFactory';
|
||
|
|
declare type ComplexFormatterPreferences<T extends FormatterType = FormatterType> = {
|
||
|
|
type: T;
|
||
|
|
options?: ComplexFormatterOptions<T>;
|
||
|
|
};
|
||
|
|
declare type FormatterOptions = FormatterType | ComplexFormatterPreferences;
|
||
|
|
export { FormatterOptions };
|