Open FrancisVila opened 5 years ago
I don't know why it's not working but VSCode warning has nothing to do with this. If I paraphrase VSCode warning, I'd say :
Hey you user ! There is no
types
and no TypeScript in this project... yet. Which is fine, but maybe the author of the library put the types outsideslate-auto-replace
, like in@types/slate-auto-replace
? You can try to installed@types/slate-auto-replace
if you want
which you did, but @types/slate-auto-replace
does not exist, that's why you got a 404.
This being said, it doesn't tell you why it's not working. Sorry !
This module's objective fits exactly what I'm trying to do, but I can't get it to work! it does not produce any errors, but when I type (c) in the editor nothing happens.
I installed it with npm install --save slate-auto-replace
VScode give me a warning on the import
import AutoReplace from 'slate-auto-replace'
the suggestion goes like this:npm install @types/slate-auto-replace gives an error. 404 Not Found: @types/slate-auto-replace@latest
Here's the code of my app;