Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarowolfx committed Apr 8, 2024
1 parent 96274d3 commit a2cc18b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bigquery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ export class BigQuery extends Service {
value,
queryParameter.parameterType?.rangeElementType?.type
);
}
}
queryParameter.parameterValue!.rangeValue = {
start: {
value: rangeValue.value.start,
Expand Down Expand Up @@ -2479,7 +2479,7 @@ function convertSchemaFieldValue(
export class BigQueryRange {
elementType?: string;
start?: BigQueryTimestamp | BigQueryDate | BigQueryDatetime;
end?: BigQueryTimestamp | BigQueryDate | BigQueryDatetime;
end?: BigQueryTimestamp | BigQueryDate | BigQueryDatetime;
constructor(value: string | BigQueryRangeOptions, elementType?: string) {
if (typeof value === 'string') {
if (!elementType) {
Expand Down Expand Up @@ -2530,11 +2530,11 @@ export class BigQueryRange {
return `[${this.start ? this.start.value : 'UNBOUNDED'}, ${this.end ? this.end.value : 'UNBOUNDED'})`;
}

public get value(){
public get value() {
return {
start: this.start ? this.start.value : 'UNBOUNDED',
end: this.end ? this.end.value : 'UNBOUNDED'
}
end: this.end ? this.end.value : 'UNBOUNDED',
};
}

static fromSchemaValue_(value: string, elementType: string): BigQueryRange {
Expand Down

0 comments on commit a2cc18b

Please sign in to comment.