Skip to content

Commit 55d3db0

Browse files
committed
Make absent fields consistently 'never'
1 parent d21cd44 commit 55d3db0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

extensions/ql-vscode/src/bqrs-cli-types.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ export interface OffsetLengthLocation {
5959
}
6060

6161
export interface WholeFileLocation {
62-
uri: string,
63-
startLine: undefined,
64-
startColumn: undefined,
65-
endLine: undefined,
66-
endColumn: undefined,
67-
charOffset: undefined,
68-
charLength: undefined,
62+
uri: string,
63+
startLine: never,
64+
startColumn: never,
65+
endLine: never,
66+
endColumn: never,
67+
charOffset: never,
68+
charLength: never,
6969
}
7070

7171
export type UrlValue = LineColumnLocation | OffsetLengthLocation | WholeFileLocation | string;
@@ -74,6 +74,6 @@ export type UrlValue = LineColumnLocation | OffsetLengthLocation | WholeFileLoca
7474
export type ColumnValue = EntityValue | number | string | boolean;
7575

7676
export interface DecodedBqrsChunk {
77-
tuples: ColumnValue[][],
78-
next?: number
77+
tuples: ColumnValue[][],
78+
next?: number
7979
}

0 commit comments

Comments
 (0)