这是indexloc提供的服务,不要输入任何密码
Skip to content

Typescript conflict in Deno #1851

@javadbat

Description

@javadbat

Expected Behavior

When using all rollup official plugins in Deno, I get the following error:

This expression is not callable.
  Type 'typeof import("file:///.../$node_modules/.deno/@rollup+plugin-replace@6.0.2/$node_modules/@rollup/plugin-replace/types/index")' has no call signatures.deno-ts(2349)

Image

Actual Behavior

by putting //@ts-ignore it works fine but TypeScript somehow couldn't resolve it as a function

Additional Information

Here is where I use rollup packages. it was working fine before I moved to deno, but currently need to be silenced with //@ts-ignore
https://github.com/javadbat/design-system/blob/main/tasks/build/builder/src/web-component-builder.ts

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