I am getting a TypeScript error Property 'openModal' does not exist on type 'UnknownPlugin<Meta, Record<string, never>, Record<string, unknown>>'.ts(2339)
I use // @ts-expect-error TS2339 to ignore the error but would love to know what is the best way to getPlugin()
// If you defined your own generics and passed them to the Uppy class
// use those intead
import type { Meta, Body } from '@uppy/core'
uppy.getPlugin<Dashboard<Meta, Body>>('Dashboard') // any, any also fine