npm i -D svelte-types
This package contains type definitions for svelte-draft (https://github.com/mistlog/svelte-draft).
Svelte Types is adapted from @types/react.
MIT licensed.