Skip to content

Commit

Permalink
Clear warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmreed committed Dec 28, 2023
1 parent a9e185c commit 9fc05ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/URLParamStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export function createQueryStore<K extends ZodType>(paramType: K) {
};
}

export function asURLSearchParams(p: any): URLSearchParams {
export function asURLSearchParams(p: unknown): URLSearchParams {
return new URLSearchParams(QueryParams.parse(p));
}

export function asQueryString(p: any): string {
export function asQueryString(p: unknown): string {
return asURLSearchParams(p).toString();
}
2 changes: 1 addition & 1 deletion src/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class UnknownLocale implements AbstractLocale {
return OTHER_LOCALE;
}

isOrContains(_other: AbstractLocale): boolean {
isOrContains(): boolean {
return false;
}
}
Expand Down

0 comments on commit 9fc05ab

Please sign in to comment.