-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
externalThe issue is caused by external component interacting with debugpyThe issue is caused by external component interacting with debugpy
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
externalThe issue is caused by external component interacting with debugpyThe issue is caused by external component interacting with debugpy