]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: remove declare
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Apr 2024 07:02:23 +0000 (09:02 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Apr 2024 07:02:29 +0000 (09:02 +0200)
packages/pinia/src/storeToRefs.ts

index e00ccc15c799c1a18e265b4f9e946309a7bdd70d..a6b91217e264aae4e10a5e3bae523525b230cf06 100644 (file)
@@ -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,