UNPKG

@sincerecloud/sc-ui

Version:

vue3 ui ant-design-vue sincerecloud sc-ui typescript

11 lines (10 loc) 368 B
import { InjectionKey } from 'vue'; export interface CreateContextOptions { readonly?: boolean; createProvider?: boolean; native?: boolean; } export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): { state: any; }; export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;