Content-Length: 308141 | pFad | http://github.com/vueuse/vueuse/commit/#start-of-content

6884B874 fix(types): use Vue's native `MaybeRef` and `MaybeRefOrGetter` instea… · vueuse/vueuse@2d1797b · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/vueuse/vueuse/commit/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy