@prezly/uploadcare-widget
v3.16.1
Published
Typescript-friendly wrapper around Uploadcare Widget library (`uploadcare-widget`).
Downloads
1,711
Readme
@prezly/uploadcare-widget
Prezly's uploadcare-widget
package is a thin wrapper
providing partial Typescript definitions
for the original Uploadcare's uploadcare-widget
library.
Usage
npm add @prezly/uploadcare-widget
import type { FilePromise } from '@prezly/uploadcare-widget';
import uploadcare from '@prezly/uploadcare-widget';
// your type-safe Typescript code
Note: The code in this package is not bundled and is expected to be processed by a bundler (e.g. Webpack or Rullup) before running in production.
Versioning
Similarly to DefinitelyTyped we will be following original package version by providing the corresponding type-definitions on top.
Credits
Brought to you by Prezly and Uploadcare.