Skip to content

⬅️ Back to Table of Contents

📄 map

📊 Analysis Summary

Metric Count
📦 Imports 3
📊 Variables & Constants 1
📑 Type Aliases 3

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/provideLocal/map.ts

📦 Imports

Name Source
EffectScope vue
InjectionKey vue
InstanceProxy ../utils

Variables & Constants

Name Type Kind Value Exported
localProvidedStateMap WeakMap<any, LocalProvidedState<T>> const new WeakMap<LocalProvidedOwner, LocalProvidedState<any>>()

Type Aliases

LocalProvidedKey<T>

type LocalProvidedKey<T> = InjectionKey<T> | string | number;

LocalProvidedState<T>

type LocalProvidedState<T> = Record<LocalProvidedKey<T>, unknown>;

LocalProvidedOwner

type LocalProvidedOwner = InstanceProxy | EffectScope;

Generated by Syntax Scribe