@uppy/core: fix some types (#4332)

This commit is contained in:
Antoine du Hamel 2023-02-27 13:32:02 +01:00 committed by GitHub
parent 5056a45523
commit cb5c0ded6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ export class UIPlugin<TOptions extends PluginOptions = DefaultPluginOptions> 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<string, unknown>): void
@ -126,6 +126,7 @@ export type PluginTarget =
| Element
| typeof BasePlugin
| typeof UIPlugin
| BasePlugin
export interface Locale<TNames extends string = string> {
strings: LocaleStrings<TNames>