-
-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Description
../../node_modules/buffer/index.d.ts:1:14 - error TS2417: Class static side 'typeof Buffer' incorrectly extends base class static side '{ readonly prototype: Uint8Array; readonly BYTES_PER_ELEMENT: number; of(...items: number[]): Uint8Array; from(arrayLike: ArrayLike<number>): Uint8Array; from<T>(arrayLike: ArrayLike<...>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; from(arrayLike: Iterable<...>, mapfn?: ((v: number, k: number) =...'.
Types of property 'concat' are incompatible.
Type '(list: Buffer[], totalLength?: number | undefined) => Buffer' is not assignable to type '(...arrays: Uint8Array[]) => Uint8Array'.
Types of parameters 'list' and 'arrays' are incompatible.
Type 'Uint8Array' is missing the following properties from type 'Buffer[]': pop, push, concat, shift, and 5 more.
1 export class Buffer extends Uint8Array {
~~~~~~
Metadata
Metadata
Assignees
Labels
No labels