Skip to content

Commit

Permalink
chore(preset): fix JSR lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
@casey_baggz_omni committed Aug 12, 2024
1 parent 3637862 commit efabc19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/panda-preset/src/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export type PrimitiveCollection =

// helpers

export function deepGet(obj: PrimitiveCollection, keys: string[]) {
export function deepGet(
obj: PrimitiveCollection,
keys: string[],
): PrimitiveCollection {
return keys.reduce(
(xs, x) => xs?.[x as keyof PrimitiveCollection] ?? null,
obj,
Expand Down

0 comments on commit efabc19

Please sign in to comment.