uppy.getPlugin(‘Dashboard).openModal()
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()
Versions:
“@uppy/aws-s3”: “^5.0.1”,
“@uppy/core”: “^5.1.0”,
“@uppy/dashboard”: “^5.0.2”,
“@uppy/image-editor”: “^4.0.1”,
“@uppy/status-bar”: “^5.0.1”,
Thanks.