moo
moo copied to clipboard
FYI: I published a Deno version
Hi,
FYI, I published a Deno version of moo
Let me know if you have any problem with that, or comment.
(and thanks for this awesome lib !)
Hey @oguimbal, did you publish it from a fork? I couldn't find that repository under your handle..
Anyways, I had some issues using the deno version. I have tried this:
import * as moo from "https://deno.land/x/[email protected]/mod.ts";
moo.states({})
but I get:
error: Uncaught TypeError: moo.states is not a function
moo.states({})
Someone at the deno discord pointed out that the .js and .d.ts were out of sync. How are you using this module?
Using compileStates seems to work with deno 1.25.0, but the intellij plugin complains about it.