Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Proper Deno Import? #39

Open
Open

Description

@tmikaeld

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/denque@v2.0.1/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/denque@v2.0.1/index.js";
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at file:///home/t/renderer/server.ts:3:24

Found 2 errors.

Activity

  1. Salakar commented on Feb 14, 2022

    @Salakar
    Contributor

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

  2. tmikaeld commented on Feb 14, 2022

    @tmikaeld
    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

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