Skip to content

Commit

Permalink
chore: remove declare
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Apr 3, 2024
1 parent d6a8129 commit 5c1c3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/pinia/src/storeToRefs.ts
Expand Up @@ -30,8 +30,9 @@ type ToComputedRefs<T> = {
/**
* Extracts the refs of a state object from a store. If the state value is a Ref or type that extends ref, it will be kept as is.
* Otherwise, it will be converted into a Ref.
* @internal
*/
declare type ToStateRefs<SS> =
type ToStateRefs<SS> =
SS extends Store<
string,
infer UnwrappedState,
Expand Down

0 comments on commit 5c1c3e1

Please sign in to comment.