that's wrong actually

This commit is contained in:
Nuckyz 2024-09-18 15:01:05 -03:00
parent 272209069a
commit 0953ba89ed
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 type LazyComponentType<P extends AnyRecord = AnyRecord> = React.FunctionComponent<P & AnyRecord> & AnyRecord & {
export type LazyComponentType<P extends AnyRecord = AnyRecord> = React.FunctionComponent<P> & AnyRecord & {
[SYM_LAZY_COMPONENT_INNER]: () => AnyComponentType<P> | null;
};