Skip to content

FYI: I published a Deno version #148

Description

@oguimbal

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

Activity

rethab commented on Aug 31, 2022

@rethab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions