mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 02:38:58 +00:00
@uppy/core: refine type of private variables (#5028)
This commit is contained in:
parent
203d9a43de
commit
fdf47e5c8e
1 changed files with 4 additions and 4 deletions
|
|
@ -45,15 +45,15 @@ class UIPlugin<
|
|||
B extends Body,
|
||||
PluginState extends Record<string, unknown> = Record<string, unknown>,
|
||||
> extends BasePlugin<Opts, M, B, PluginState> {
|
||||
#updateUI: (state: Partial<State<M, B>>) => void
|
||||
#updateUI!: (state: Partial<State<M, B>>) => void
|
||||
|
||||
isTargetDOMEl: boolean
|
||||
isTargetDOMEl!: boolean
|
||||
|
||||
el: HTMLElement | null
|
||||
el!: HTMLElement | null
|
||||
|
||||
parent: unknown
|
||||
|
||||
title: string
|
||||
title!: string
|
||||
|
||||
getTargetPlugin<Me extends Meta, Bo extends Body>(
|
||||
target: PluginTarget<Me, Bo>, // eslint-disable-line no-use-before-define
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue