summaryrefslogtreecommitdiff
path: root/extension/schema/RangeInFile.d.ts
blob: 0dcd3bcac10b7bc8c0ee3dc1f4155c1dbb400a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* eslint-disable */
/**
 * This file was automatically generated by json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
 * and run json-schema-to-typescript to regenerate this file.
 */

export type RangeInFile = RangeInFile1;
export type Filepath = string;
export type Line = number;
export type Character = number;

export interface RangeInFile1 {
  filepath: Filepath;
  range: Range;
  [k: string]: unknown;
}
/**
 * A range in a file. 0-indexed.
 */
export interface Range {
  start: Position;
  end: Position;
  [k: string]: unknown;
}
export interface Position {
  line: Line;
  character: Character;
  [k: string]: unknown;
}