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

Proper Deno Import? #39

Open
tmikaeld opened this issue Feb 13, 2022 · 2 comments
Open

Proper Deno Import? #39

tmikaeld opened this issue Feb 13, 2022 · 2 comments

Comments

@tmikaeld
Copy link

tmikaeld commented Feb 13, 2022

Any chance we can get a proper module for Deno?

error: TS2596 [ERROR]: 'Denque' can only be imported by turning on the 'esModuleInterop' flag and using a default import.
import { Denque } from "https://deno.land/x/[email protected]/index.js";
         ~~~~~~
    at file:///home/t/renderer/server.ts:3:10

TS2497 [ERROR]: This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
import { Denque } from "https://deno.land/x/[email protected]/index.js";
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at file:///home/t/renderer/server.ts:3:24

Found 2 errors.
@Salakar
Copy link
Member

Salakar commented Feb 14, 2022

I'm not super familiar with Deno but I would accept PRs for this

@tmikaeld
Copy link
Author

I've just started using it myself, but I can see if I can figure it out, thanks!

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