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

Type resolution failure: @types/culori #864

Open
jeiea opened this issue Aug 15, 2024 · 0 comments
Open

Type resolution failure: @types/culori #864

jeiea opened this issue Aug 15, 2024 · 0 comments
Labels
deno Not working in Deno

Comments

@jeiea
Copy link

jeiea commented Aug 15, 2024

Failing module

import { displayable } from "https://esm.sh/[email protected]/fn";

Error message

Deno LSP does not provide type hint for displayable.

Additional info

Response header of https://esm.sh/[email protected]/fn contains the following.

x-typescript-types: https://esm.sh/v135/@types/culori@latest/fn~.d.ts

https://esm.sh/v135/@types/culori@latest/fn~.d.ts contains the following.

export { clampChroma, clampGamut, clampRgb, displayable, inGamut, toGamut } from "../src/clamp.d.ts";

That indicates https://esm.sh/v135/@types/src/clamp.d.ts but it is not exist, but https://esm.sh/v135/@types/culori@latest/src/clamp.d.ts exists.

  • esm.sh version: v135
  • Deno version: 1.46.0-rc.0
@jeiea jeiea added the deno Not working in Deno label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deno Not working in Deno
Projects
None yet
Development

No branches or pull requests

1 participant