I'm not gonna comment

This commit is contained in:
Nuckyz 2024-09-18 15:07:41 -03:00
parent 356586d68f
commit a0a1aaf0ed
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -11,7 +11,7 @@ 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 & {
[SYM_LAZY_COMPONENT_INNER]: () => AnyComponentType<P> | null; [SYM_LAZY_COMPONENT_INNER]: () => AnyComponentType<P> | null;
}; };
export type AnyLazyComponentType<P extends AnyRecord> = LazyComponentType<P & AnyRecord>; export type AnyLazyComponentType<P extends AnyRecord = AnyRecord> = LazyComponentType<P & AnyRecord>;
/** /**
* A lazy component. The factory method is called on first render. * A lazy component. The factory method is called on first render.