Fix types related to plugins and the web interface

This commit is contained in:
Hornwitser committed 2023-11-28 15:35:40 +01:00
1 parent 8b5c66d900
commit 70d2b319b3
10 files changed
+17 -26

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export interface PluginLoginForm {
* supplied the setToken function via its props which should be called
* when an authentication token is aquired via this form.
*/
Component: typeof React.Component;
Component: React.ComponentType<{ setToken(token: string): void }>;
};
export type UserAccount = {