fork-ts-checker-webpack-plugin
Version:
Runs typescript type checker and linter on separate process.
15 lines (14 loc) • 609 B
TypeScript
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 };