Type checker error during run extension in npm:watch
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
src/test/unittest/noConfigDebugInit.unit.test.ts の 220 行目から開始し、npm:watch を通じて TypeScript エラーを再現します。そこで報告されるコールバックの型を周囲のテストと比較し、エラーが環境に起因するものか、コード変更が必要なものかを判断します。npm:watch が報告された型エラーなしで完了し、既存の nox lint と nox tests も引き続き成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi
I encountered an npmwatch error while developing a process attacher.
I downloaded the distribution code, but the issue persists.
Wanna make sure this error is my local environment or common. Should I ignore this with @ts-expect-error, or should someone fix this?
BTW, the nox lint and nox tests both passed
Argument of type '(_path: any, callback: (arg0: null, arg1: Buffer) => void) => void' is not assignable to parameter of type '(path: PathOrFileDescriptor, callback: (err: ErrnoException | null, data: NonSharedBuffer) => void) => void'.
Types of parameters 'callback' and 'callback' are incompatible.
Type '(err: ErrnoException | null, data: NonSharedBuffer) => void' is not assignable to type '(arg0: null, arg1: Buffer<ArrayBufferLike>) => void'.
Types of parameters 'data' and 'arg1' are incompatible.
Type 'Buffer<ArrayBufferLike>' is not assignable to type 'NonSharedBuffer'.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.ts(2345)
which in https://github.com/microsoft/vscode-python-src/test/unittest/noConfigDebugInit.unit.test.ts line 220
Best Regards
Charles
- 主要言語
- Python
- スター
- 2.5k
- フォーク
- 202
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 3
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/debugpy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/debugpy の issue をすべて見る
似ている issue
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vllm-project/vllm-metal#822 ·
メンテナーはふだん 1 日以内に返信
-
vector-store
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BasedHardware/omi#19047 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信