xstate - no types imported

import * as xstate from "https://deno.land/x/xstate@xstate@4.35.2/src/index.ts"; file is cached, yet no types (restarted language server ext.) any ideas?
4 Replies
Beast
Beast•2y ago
it uses imports that are simply invalid for deno
Beast
Beast•2y ago
If you have to, use xstate's npm package via npm: import
shultz🇮🇱
I'll open an issue, can you help me describe the problem?
Beast
Beast•2y ago
deno requires imports to have file extensions at the end, e.g. import x from "y.ts"

Did you find this page helpful?