From: Eduardo San Martin Morote Date: Wed, 3 Apr 2024 07:02:23 +0000 (+0200) Subject: chore: remove declare X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c1c3e1d519c3b14b0f42e680e03441a00c5e886;p=thirdparty%2Fvuejs%2Fpinia.git chore: remove declare --- diff --git a/packages/pinia/src/storeToRefs.ts b/packages/pinia/src/storeToRefs.ts index e00ccc15..a6b91217 100644 --- a/packages/pinia/src/storeToRefs.ts +++ b/packages/pinia/src/storeToRefs.ts @@ -30,8 +30,9 @@ type ToComputedRefs = { /** * 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 = +type ToStateRefs = SS extends Store< string, infer UnwrappedState,