lines-and-columns
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -1,8 +0,8 @@ | ||
export declare type SourceLocation = { | ||
export interface SourceLocation { | ||
line: number; | ||
column: number; | ||
}; | ||
} | ||
export declare class LinesAndColumns { | ||
private string; | ||
private offsets; | ||
private readonly length; | ||
private readonly offsets; | ||
constructor(string: string); | ||
@@ -9,0 +9,0 @@ locationForIndex(index: number): SourceLocation | null; |
{ | ||
"name": "lines-and-columns", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Maps lines and columns to character offsets and back.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7657