mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-20 01:55:09 +00:00
@uppy/core: fix some types (#4332)
This commit is contained in:
parent
5056a45523
commit
cb5c0ded6f
1 changed files with 2 additions and 1 deletions
3
packages/@uppy/core/types/index.d.ts
vendored
3
packages/@uppy/core/types/index.d.ts
vendored
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue