This is not yet published in DefinitelyTyped. Therefore you've to adapt the installation a little bit. Add following dependency to your package.json
:
"dependencies": {
"@types/slate-react": "git+https://github.com/JanLoebel/types-slate-react.git"
},
Run npm install
and that's it.
This package contains type definitions for Slate-React (https://github.com/ianstormtaylor/slate). See also: https://github.com/JanLoebel/types-slate
Please feel free to contribute!
These definitions were written by Andy Kent https://github.com/andykent, Jamie Talbot https://github.com/majelbstoat, Jan Löbel https://github.com/JanLoebel.