moo icon indicating copy to clipboard operation
moo copied to clipboard

FYI: I published a Deno version

Open oguimbal opened this issue 5 years ago • 1 comments

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 !)

oguimbal avatar Nov 04 '20 12:11 oguimbal

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.

rethab avatar Aug 31 '22 15:08 rethab