Skip to content

Commit

Permalink
@uppy/core: refine type of private variables (#5028)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Mar 26, 2024
1 parent 203d9a4 commit fdf47e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@uppy/core/src/UIPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdf47e5

Please sign in to comment.