sebin-reference/src/keys.ts
2023-01-20 00:32:06 +01:00

6 lines
347 B
TypeScript

import type { InjectionKey, Ref } from "vue";
export const isWarnKey: InjectionKey<Ref<boolean>> = Symbol("isWarnKey");
export const nsfwKey: InjectionKey<Ref<boolean>> = Symbol("nsfwKey");
export const showModalKey: InjectionKey<Function> = Symbol("showModalKey");
export const modalResultKey: InjectionKey<Function> = Symbol("modalResultKey");