format: apply repo prettier (3.8.1) to the folded skills tree
963 markdown files reformatted with the repository's pinned prettier so pnpm format:check covers the folded tree like every other repo file. The formatter's embedded-language pass also normalized code fences (TS semicolons, closed HTML tags in examples, lowercased CSS hex colors, one renumbered list that skipped an index). Alphanumeric token deltas vs the fold commit were audited file-by-file; all are formatter-equivalent markup normalizations plus the four sanitized skills.
This commit is contained in:
@@ -9,9 +9,9 @@ Reactive Memory Info.
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { useMemory } from '@vueuse/core'
|
||||
import { useMemory } from '@vueuse/core';
|
||||
|
||||
const { isSupported, memory } = useMemory()
|
||||
const { isSupported, memory } = useMemory();
|
||||
```
|
||||
|
||||
## Type Declarations
|
||||
@@ -26,19 +26,19 @@ export interface MemoryInfo {
|
||||
/**
|
||||
* The maximum size of the heap, in bytes, that is available to the context.
|
||||
*/
|
||||
readonly jsHeapSizeLimit: number
|
||||
readonly jsHeapSizeLimit: number;
|
||||
/**
|
||||
* The total allocated heap size, in bytes.
|
||||
*/
|
||||
readonly totalJSHeapSize: number
|
||||
readonly totalJSHeapSize: number;
|
||||
/**
|
||||
* The currently active segment of JS heap, in bytes.
|
||||
*/
|
||||
readonly usedJSHeapSize: number
|
||||
[Symbol.toStringTag]: "MemoryInfo"
|
||||
readonly usedJSHeapSize: number;
|
||||
[Symbol.toStringTag]: 'MemoryInfo';
|
||||
}
|
||||
export interface UseMemoryOptions extends UseIntervalFnOptions {
|
||||
interval?: number
|
||||
interval?: number;
|
||||
}
|
||||
/**
|
||||
* Reactive Memory Info.
|
||||
@@ -49,8 +49,8 @@ export interface UseMemoryOptions extends UseIntervalFnOptions {
|
||||
* @__NO_SIDE_EFFECTS__
|
||||
*/
|
||||
export declare function useMemory(options?: UseMemoryOptions): {
|
||||
isSupported: ComputedRef<boolean>
|
||||
memory: Ref<MemoryInfo | undefined, MemoryInfo | undefined>
|
||||
}
|
||||
export type UseMemoryReturn = ReturnType<typeof useMemory>
|
||||
isSupported: ComputedRef<boolean>;
|
||||
memory: Ref<MemoryInfo | undefined, MemoryInfo | undefined>;
|
||||
};
|
||||
export type UseMemoryReturn = ReturnType<typeof useMemory>;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user