Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: I published a Deno version #148

Open
oguimbal opened this issue Nov 4, 2020 · 1 comment
Open

FYI: I published a Deno version #148

oguimbal opened this issue Nov 4, 2020 · 1 comment

Comments

@oguimbal
Copy link

oguimbal commented Nov 4, 2020

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

@rethab
Copy link

rethab commented Aug 31, 2022

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/moo@0.5.1-deno.2/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants