tolkfmt-test-dev
Version:
Code formatter for the Tolk programming language
17 lines • 503 B
TypeScript
import type { Parser } from "web-tree-sitter";
export interface Position {
readonly line: number;
readonly character: number;
}
export interface Range {
readonly start: Position;
readonly end: Position;
}
export interface FormatOptions {
readonly maxWidth?: number;
readonly parser?: Parser;
readonly range?: Range;
readonly sortImports?: boolean;
}
export declare const format: (code: string, opts?: FormatOptions) => Promise<string>;
//# sourceMappingURL=index.d.ts.map