Skip to content

Commit

Permalink
fix: any
Browse files Browse the repository at this point in the history
  • Loading branch information
zirkelc committed Dec 17, 2024
1 parent c09989a commit 3bf3aae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thin-walls-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"middy-store": patch
---

fix: use `any` instead of `unknown` for path completion
2 changes: 1 addition & 1 deletion packages/core/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type Resolveable<TResolved, TArgs extends any[] = []> =

export type Logger = (message?: any, ...optionalParams: any[]) => void;

export type Selector<TObject> = TObject extends Record<string, unknown>
export type Selector<TObject> = TObject extends Record<string, any>
? Paths<TObject, { anyArrayIndexAccessor: "*" }>
: string;

Expand Down

0 comments on commit 3bf3aae

Please sign in to comment.