Skip to content

Commit

Permalink
fix: knip
Browse files Browse the repository at this point in the history
  • Loading branch information
verytactical committed Dec 18, 2024
1 parent 340552a commit 8610c98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grammar/src-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { throwInternalCompilerError } from "../errors";

export type ItemOrigin = "stdlib" | "user";

export type LineAndColumnInfo = {
type LineAndColumnInfo = {
lineNum: number;
colNum: number;
toString(...ranges: number[][]): string;
};

export type Interval = {
type Interval = {
contents: string;
getLineAndColumnMessage(): string;
getLineAndColumn(): LineAndColumnInfo;
Expand Down Expand Up @@ -236,7 +236,7 @@ const errorPrinter = getErrorPrinter({
contextLines: 1,
});

export const getSrcInfo = (
const getSrcInfo = (
sourceString: string,
startIdx: number,
endIdx: number,
Expand Down

0 comments on commit 8610c98

Please sign in to comment.