You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the vscode-jsonrpc typings don't work with TypeScript higher than 5.5.4. Would it be possible to update the TypScript in this repo to latest version (v5.7.2), compesate with typings and release a new version?
Thank you very much for all the work!
../../node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts:28:5 - error TS2416: Property 'forEach' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
Type '(callbackfn: (value: V, key: K, map: LinkedMap<K, V>) => void, thisArg?: any) => void' is not assignable to type '(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any) => void'.
Types of parameters 'callbackfn' and 'callbackfn' are incompatible.
Types of parameters 'map' and 'map' are incompatible.
Type 'LinkedMap<K, V>' is not assignable to type 'Map<K, V>'.
The types returned by 'entries()' are incompatible between these types.
Type 'IterableIterator<[K, V]>' is missing the following properties from type 'MapIterator<[K, V]>': map, filter, take, drop, and 9 more.
28 forEach(callbackfn: (value: V, key: K, map: LinkedMap<K, V>) => void, thisArg?: any): void;
~~~~~~~
../../node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts:29:5 - error TS2416: Property 'keys' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
Type '() => IterableIterator<K>' is not assignable to type '() => MapIterator<K>'.
Type 'IterableIterator<K>' is missing the following properties from type 'MapIterator<K>': map, filter, take, drop, and 9 more.
29 keys(): IterableIterator<K>;
~~~~
../../node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts:30:5 - error TS2416: Property 'values' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
Type '() => IterableIterator<V>' is not assignable to type '() => MapIterator<V>'.
Type 'IterableIterator<V>' is missing the following properties from type 'MapIterator<V>': map, filter, take, drop, and 9 more.
30 values(): IterableIterator<V>;
~~~~~~
../../node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts:31:5 - error TS2416: Property 'entries' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
Type '() => IterableIterator<[K, V]>' is not assignable to type '() => MapIterator<[K, V]>'.
Type 'IterableIterator<[K, V]>' is missing the following properties from type 'MapIterator<[K, V]>': map, filter, take, drop, and 9 more.
31 entries(): IterableIterator<[K, V]>;
~~~~~~~
../../node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts:32:5 - error TS2416: Property '[Symbol.iterator]' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
Type '() => IterableIterator<[K, V]>' is not assignable to type '() => MapIterator<[K, V]>'.
Type 'IterableIterator<[K, V]>' is missing the following properties from type 'MapIterator<[K, V]>': map, filter, take, drop, and 9 more.
32 [Symbol.iterator](): IterableIterator<[K, V]>;
The text was updated successfully, but these errors were encountered:
Hi,
It seems that the
vscode-jsonrpc
typings don't work with TypeScript higher than5.5.4
. Would it be possible to update the TypScript in this repo to latest version (v5.7.2), compesate with typings and release a new version?Thank you very much for all the work!
The text was updated successfully, but these errors were encountered: