initial commit
This commit is contained in:
10
node_modules/vite-plugin-checker/dist/esm/codeFrame.d.ts
generated
vendored
Normal file
10
node_modules/vite-plugin-checker/dist/esm/codeFrame.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import ts from 'typescript';
|
||||
import { SourceLocation } from '@babel/code-frame';
|
||||
|
||||
declare function createFrame({ source, location, }: {
|
||||
source: string;
|
||||
location: SourceLocation;
|
||||
}): string;
|
||||
declare function tsLocationToBabelLocation(tsLoc: Record<'start' | 'end', ts.LineAndCharacter /** 0-based */>): SourceLocation;
|
||||
|
||||
export { createFrame, tsLocationToBabelLocation };
|
||||
Reference in New Issue
Block a user