D
Deno

help

xstate - no types imported

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

Looking for more? Join the community!