feat .calude

This commit is contained in:
Ironsp
2026-09-17 08:52:53 +08:00
parent a84f7c4906
commit e1750b16c4
363 changed files with 41250 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
---
category: Utilities
---
# get
Shorthand for accessing `ref.value`
## Usage
```ts
import { get } from '@vueuse/core'
const a = ref(42)
console.log(get(a)) // 42
```
## Type Declarations
```ts
/**
* Shorthand for accessing `ref.value`
*/
export declare function get<T>(ref: MaybeRef<T>): T
export declare function get<T, K extends keyof T>(
ref: MaybeRef<T>,
key: K,
): T[K]
```