wilddragon-site/node_modules/next/dist/shared/lib/errors/code-frame.d.ts
2026-04-17 15:51:01 -04:00

7 lines
453 B
TypeScript
Executable file

import type { NapiCodeFrameLocation, NapiCodeFrameOptions } from '../../../build/swc/generated-native';
/**
* Renders a code frame showing the location of an error in source code.
* Requires native bindings to be installed — throws otherwise.
*/
export declare function codeFrameColumns(file: string, location: NapiCodeFrameLocation, options?: NapiCodeFrameOptions): string | undefined;
export type { NapiCodeFrameLocation, NapiCodeFrameOptions };