Skip to content

Commit

Permalink
chore: bump version, fix type name
Browse files Browse the repository at this point in the history
  • Loading branch information
bombillazo committed Feb 18, 2024
1 parent cc87d8c commit 9955bf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions connection/connection_params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ConnectionParamsError } from "../client/error.ts";
import { fromFileUrl, isAbsolute } from "../deps.ts";
import { OidType } from "../query/oid.ts";
import { DebugControls } from "../debug.ts";
import { ParseArrayFunc } from "../query/array_parser.ts";
import { ParseArrayFunction } from "../query/array_parser.ts";

/**
* The connection string must match the following URI structure. All parameters but database and user are optional
Expand Down Expand Up @@ -117,7 +117,7 @@ export type Decoders = {
export type DecoderFunction = (
value: string,
oid: number,
parseArray: ParseArrayFunc,
parseArray: ParseArrayFunction,
) => unknown;

/**
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lock": false,
"name": "@bartlomieju/postgres",
"version": "0.18.1",
"version": "0.19.1",
"exports": "./mod.ts"
}
2 changes: 1 addition & 1 deletion query/array_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type AllowedSeparators = "," | ";";
type ArrayResult<T> = Array<T | null | ArrayResult<T>>;
type Transformer<T> = (value: string) => T;

export type ParseArrayFunc = typeof parseArray;
export type ParseArrayFunction = typeof parseArray;

/**
* Parse a string into an array of values using the provided transform function.
Expand Down

1 comment on commit 9955bf7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No typecheck tests failure

This error was most likely caused by incorrect type stripping from the SWC crate

Please report the following failure to https://github.com/denoland/deno with a reproduction of the current commit

Failure log

Please sign in to comment.