Skip to content

Commit

Permalink
@uppy/core: fix some types (#4332)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 27, 2023
1 parent 5056a45 commit cb5c0de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@uppy/core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -126,6 +126,7 @@ export type PluginTarget =
| Element
| typeof BasePlugin
| typeof UIPlugin
| BasePlugin

export interface Locale<TNames extends string = string> {
strings: LocaleStrings<TNames>
Expand Down

0 comments on commit cb5c0de

Please sign in to comment.