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
../node_modules/immer-yjs/src/immer-yjs.ts:39:64 - error TS2345: Argument of type '(v: JSONValue | YMap<any> | YArray<any>) => JSONValue' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => JSONValue'.
Types of parameters 'v' and 'value' are incompatible.
Type 'unknown' is not assignable to type 'JSONValue | YMap<any> | YArray<any>'.
39 arr.splice(retain, 0, ...change.insert.map(toPlainValue))
~~~~~~~~~~~~
Found 1 error in ../node_modules/immer-yjs/src/immer-yjs.ts:39
I have"skipLibCheck": true, in my tsConfig and "exclude": [ ..., "node_modules", "../node_modules" ...]
Is there something I'm missing here. For now I can't use it as is, which is a pity since it's super great!
The text was updated successfully, but these errors were encountered:
Love this project. Unfortunately, I tried installing this on a project at work and it collided with
immer-yjs
:https://github.com/sep2/immer-yjs/blob/main/packages/immer-yjs/src/immer-yjs.ts#L39C78-L39C78
I have
"skipLibCheck": true,
in my tsConfig and"exclude": [ ..., "node_modules", "../node_modules" ...]
Is there something I'm missing here. For now I can't use it as is, which is a pity since it's super great!
The text was updated successfully, but these errors were encountered: