Typescript conflict in Deno
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- deno, rollup, typescript
- 領域
- build-system
調査の方向性
Start with tasks/build/builder/src/web-component-builder.ts and inspect how the Rollup official plugins are imported and called in Deno. Compare the TypeScript types exposed by @rollup/plugin-replace with Deno's module resolution. Done means the linked builder type-checks and calls the plugins without //@ts-ignore.
索引モデルが issue の本文から書いたものです。
説明
- Rollup Plugin Name: all
- Rollup Plugin Version: -
- Rollup Version:
- Operating System (or Browser): windows
- Node Version: 20
- Link to reproduction (⚠️ read below):
https://github.com/javadbat/design-system/blob/main/tasks/build/builder/src/web-component-builder.ts
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)
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
- 主要言語
- JavaScript
- スター
- 3.8k
- フォーク
- 635
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rollup/plugins のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
Support js-yaml v5 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/studio#4908 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sugarlabs/musicblocks#8847 ·