add hw2
This commit is contained in:
		
							
								
								
									
										13
									
								
								node_modules/lines-and-columns/build/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								node_modules/lines-and-columns/build/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| export declare type SourceLocation = { | ||||
|     line: number; | ||||
|     column: number; | ||||
| }; | ||||
| export declare class LinesAndColumns { | ||||
|     private string; | ||||
|     private offsets; | ||||
|     constructor(string: string); | ||||
|     locationForIndex(index: number): SourceLocation | null; | ||||
|     indexForLocation(location: SourceLocation): number | null; | ||||
|     private lengthOfLine; | ||||
| } | ||||
| export default LinesAndColumns; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik