UNPKG

fork-ts-checker-webpack-plugin

Version:
15 lines (14 loc) 609 B
import type { Formatter, FormatterPathType } from './formatter'; import type { BabelCodeFrameOptions } from './types/babel__code-frame'; type FormatterType = 'basic' | 'codeframe'; type BasicFormatterOptions = { type: 'basic'; pathType?: FormatterPathType; }; type CodeframeFormatterOptions = { type: 'codeframe'; pathType?: FormatterPathType; options?: BabelCodeFrameOptions; }; type FormatterOptions = undefined | FormatterType | BasicFormatterOptions | CodeframeFormatterOptions | Formatter; export { FormatterOptions, FormatterType, BasicFormatterOptions, CodeframeFormatterOptions };