Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bombillazo committed Feb 2, 2024
1 parent 5e05e45 commit 74b9a30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion query/decoders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const HEX = 16;
const HEX_PREFIX_REGEX = /^\\x/;
const TIMEZONE_RE = /([Z+-])(\d{2})?:?(\d{2})?:?(\d{2})?/;

export function decodeBigint(value: string): BigInt {
export function decodeBigint(value: string): bigint {
return BigInt(value);
}

Expand Down
2 changes: 1 addition & 1 deletion query/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type Polygon = Point[];
/**
* https://www.postgresql.org/docs/14/datatype-oid.html
*/
export type TID = [BigInt, BigInt];
export type TID = [bigint, bigint];

/**
* Additional to containing normal dates, they can contain 'Infinity'
Expand Down
2 changes: 1 addition & 1 deletion tests/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ClientConfiguration } from "../connection/connection_params.ts";
import config_file1 from "./config.json" assert { type: "json" };
import config_file1 from "./config.json" with { type: "json" };

type TcpConfiguration = Omit<ClientConfiguration, "connection"> & {
host_type: "tcp";
Expand Down

0 comments on commit 74b9a30

Please sign in to comment.