shultz
shultz2y ago

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
Beast2y ago
it uses imports that are simply invalid for deno
Beast
Beast2y ago
If you have to, use xstate's npm package via npm: import
shultz
shultz2y ago
I'll open an issue, can you help me describe the problem?
Beast
Beast2y ago
deno requires imports to have file extensions at the end, e.g. import x from "y.ts"