Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 26, 2024
1 parent 623e5a0 commit 0d8bce8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/pinia/src/storeToRefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ import type {
} from './types'

type ToComputedRefs<T> = {
[K in keyof T]: ToRef<T[K]> extends Ref
? ComputedRef<T[K]>
: ToRef<T[K]>
[K in keyof T]: ToRef<T[K]> extends Ref ? ComputedRef<T[K]> : ToRef<T[K]>
}

/**
Expand Down

0 comments on commit 0d8bce8

Please sign in to comment.