Skip to content

Commit 2d1797b

Browse files
authored
fix(types): use Vue's native MaybeRef and MaybeRefOrGetter instead (#4913)
1 parent 4f2bd8a commit 2d1797b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/core/useLocalStorage/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type { MaybeRefOrGetter, RemovableRef } from '@vueuse/shared'
1+
import type { RemovableRef } from '@vueuse/shared'
2+
import type { MaybeRefOrGetter } from 'vue'
23
import type { UseStorageOptions } from '../useStorage'
34
import { defaultWindow } from '../_configurable'
45
import { useStorage } from '../useStorage'

packages/math/logicNot/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { MaybeRefOrGetter } from '@vueuse/shared'
2-
import type { ComputedRef } from 'vue'
1+
import type { ComputedRef, MaybeRefOrGetter } from 'vue'
32
import { computed, toValue } from 'vue'
43

54
/**

packages/shared/get/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { MaybeRef } from '../utils'
1+
import type { MaybeRef } from 'vue'
22
// eslint-disable-next-line no-restricted-imports
33
import { unref } from 'vue'
44

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy