Skip to content

Specifying npm version breaks types #378

Description

@tennox

Normal import - working types:
Screenshot from 2023-12-18 17-54-52

I was happy to see selecting a specific npm package version works, but it shows an error & doesn't load types:
Screenshot from 2023-12-18 17-55-55

Tried different variations:

import { create } from "canvas-confetti@1.9.0";
import { create } from "https://esm.run/canvas-confetti@1.9.0";

Example notebook

Activity

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