aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-04 22:24:16 +0200
committerVendicated <vendicated@riseup.net>2023-04-04 22:24:16 +0200
commitd8a5e430340c22ba348c0ec62f4cf788a59f049d (patch)
tree28099713762fc93ee1f3cf62dc6bba9fcb3f5066 /src/webpack
parent8ad710abca9effc4b27c63ae2ab6ad3bc362ee4a (diff)
downloadVencord-d8a5e430340c22ba348c0ec62f4cf788a59f049d.tar.gz
Vencord-d8a5e430340c22ba348c0ec62f4cf788a59f049d.tar.bz2
Vencord-d8a5e430340c22ba348c0ec62f4cf788a59f049d.zip
Fix Themes Tab
Diffstat (limited to 'src/webpack')
-rw-r--r--src/webpack/common/types/components.d.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webpack/common/types/components.d.ts b/src/webpack/common/types/components.d.ts
index a2e66bd..7b02ed3 100644
--- a/src/webpack/common/types/components.d.ts
+++ b/src/webpack/common/types/components.d.ts
@@ -186,7 +186,9 @@ export type TextInput = ComponentType<PropsWithChildren<{
Sizes: Record<"DEFAULT" | "MINI", string>;
};
-export type TextArea = ComponentType<PropsWithRef<HTMLProps<HTMLTextAreaElement>>>;
+export type TextArea = ComponentType<PropsWithRef<Omit<HTMLProps<HTMLTextAreaElement>, "onChange"> & {
+ onChange(v: string): void;
+}>>;
interface SelectOption {
disabled?: boolean;