Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a10d84bc2e
commit
7ad2aa66bb
12
node_modules/lines-and-columns/dist/index.d.ts
generated
vendored
Normal file
12
node_modules/lines-and-columns/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export declare type SourceLocation = {
|
||||
line: number;
|
||||
column: number;
|
||||
};
|
||||
export default class LinesAndColumns {
|
||||
private string;
|
||||
private offsets;
|
||||
constructor(string: string);
|
||||
locationForIndex(index: number): SourceLocation | null;
|
||||
indexForLocation(location: SourceLocation): number | null;
|
||||
private lengthOfLine(line);
|
||||
}
|
||||
Reference in New Issue
Block a user