Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Unreleased

## Types

- Made `TupleParam` constructor accept a readonly array to permit more usages.

# 1.12.1

## Improvements
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export class TupleParam {
constructor(public readonly values: any[]) {}
constructor(public readonly values: readonly unknown[]) {}
}

export function formatQueryParams({
Expand Down Expand Up @@ -113,7 +113,7 @@ function formatObjectLikeParam(
}

interface FormatQueryParamsOptions {
value: any
value: unknown
wrapStringInQuotes?: boolean
// For tuples/arrays, it is required to print NULL instead of \N
printNullAsKeyword?: boolean
Expand Down