9 lines
466 B
TypeScript
9 lines
466 B
TypeScript
import { InjectionKey } from "vue";
|
|
import type { FileManager } from "./FileManager";
|
|
import { Receiver, Sender } from "./CommunicationChannel";
|
|
|
|
|
|
export const FileManagerSymbol = Symbol("FileManager") as InjectionKey<FileManager>;
|
|
export const CastTypeSymbol = Symbol("CastType") as InjectionKey<"sender" | "receiver">;
|
|
export const SenderSymbol = Symbol('Sender') as InjectionKey<Sender>;
|
|
export const ReceiverSymbol = Symbol('Receiver') as InjectionKey<Receiver>; |