UNPKG

362 BTypeScriptView Raw
1import { NormalizedMessage } from '../NormalizedMessage';
2/**
3 * Create new code frame formatter.
4 *
5 * @param options Options for babel-code-frame - see https://www.npmjs.com/package/babel-code-frame
6 * @returns {codeframeFormatter}
7 */
8export declare function createCodeframeFormatter(options: any): (message: NormalizedMessage, useColors: boolean) => string;