mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-25 00:36:23 +00:00
I swear
This commit is contained in:
parent
adf7bd0dcc
commit
356586d68f
1 changed files with 1 additions and 2 deletions
3
src/globals.d.ts
vendored
3
src/globals.d.ts
vendored
|
@ -17,12 +17,11 @@
|
|||
*/
|
||||
|
||||
import { LoDashStatic } from "lodash";
|
||||
import { PropsWithChildren } from "react";
|
||||
|
||||
declare global {
|
||||
type AnyRecord = Record<PropertyKey, any>;
|
||||
type AnyComponentType<P extends AnyRecord = AnyRecord> = React.ComponentType<P & AnyRecord> & AnyRecord;
|
||||
type AnyComponentTypeWithChildren<P extends AnyRecord = AnyRecord> = AnyComponentType<PropsWithChildren<P>>;
|
||||
type AnyComponentTypeWithChildren<P extends AnyRecord = AnyRecord> = AnyComponentType<React.PropsWithChildren<P>>;
|
||||
|
||||
/**
|
||||
* This exists only at build time, so references to it in patches should insert it
|
||||
|
|
Loading…
Reference in a new issue