mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +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 { LoDashStatic } from "lodash";
|
||||||
|
import { PropsWithChildren } from "react";
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
type AnyRecord = Record<PropertyKey, any>;
|
type AnyRecord = Record<PropertyKey, any>;
|
||||||
type AnyComponentType<P extends AnyRecord = AnyRecord> = React.ComponentType<P & AnyRecord> & AnyRecord;
|
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
|
* This exists only at build time, so references to it in patches should insert it
|
||||||
|
|
Loading…
Reference in a new issue