From cb5c0ded6f41dfca64e4ebdfc7fe8d4b356f97a8 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 27 Feb 2023 13:32:02 +0100 Subject: [PATCH] @uppy/core: fix some types (#4332) --- packages/@uppy/core/types/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts index 02a1af61d..89928a595 100644 --- a/packages/@uppy/core/types/index.d.ts +++ b/packages/@uppy/core/types/index.d.ts @@ -108,7 +108,7 @@ export class UIPlugin ext getTargetPlugin(target: PluginTarget): UIPlugin | undefined // eslint-disable-next-line no-use-before-define - mount(target: PluginTarget, plugin: typeof UIPlugin): void + mount(target: PluginTarget, plugin: UIPlugin): void render(state: Record): void @@ -126,6 +126,7 @@ export type PluginTarget = | Element | typeof BasePlugin | typeof UIPlugin + | BasePlugin export interface Locale { strings: LocaleStrings