This commit is contained in:
Nuckyz 2024-09-18 15:00:28 -03:00
parent f9ef683191
commit 272209069a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -8,7 +8,7 @@ import { makeLazy } from "./lazy";
export const SYM_LAZY_COMPONENT_INNER = Symbol.for("vencord.lazyComponent.inner"); export const SYM_LAZY_COMPONENT_INNER = Symbol.for("vencord.lazyComponent.inner");
export type LazyComponentType<P extends AnyRecord = AnyRecord> = React.FunctionComponent<P> & AnyRecord & { export type LazyComponentType<P extends AnyRecord = AnyRecord> = React.FunctionComponent<P & AnyRecord> & AnyRecord & {
[SYM_LAZY_COMPONENT_INNER]: () => AnyComponentType<P> | null; [SYM_LAZY_COMPONENT_INNER]: () => AnyComponentType<P> | null;
}; };