mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 01:46:23 +00:00
clean
This commit is contained in:
parent
a6971289ad
commit
adf7bd0dcc
1 changed files with 2 additions and 1 deletions
3
src/globals.d.ts
vendored
3
src/globals.d.ts
vendored
|
@ -17,11 +17,12 @@
|
|||
*/
|
||||
|
||||
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> = React.ComponentType<React.PropsWithChildren<P> & AnyRecord> & AnyRecord;
|
||||
type AnyComponentTypeWithChildren<P extends AnyRecord = AnyRecord> = AnyComponentType<PropsWithChildren<P>>;
|
||||
|
||||
/**
|
||||
* This exists only at build time, so references to it in patches should insert it
|
||||
|
|
Loading…
Reference in a new issue