Add a note #171
Annotations
10 errors and 10 warnings
check:
src/components/TextNodeView.tsx#L32
Argument of type 'DecorationSet' is not assignable to parameter of type 'DecorationSource'.
|
check:
src/components/TextNodeView.tsx#L55
Argument of type 'DecorationSet' is not assignable to parameter of type 'DecorationSource'.
|
check:
src/hooks/useContentEditable.ts#L3
Cannot find module '../prosemirror-view/EditorViewInternal.js' or its corresponding type declarations.
|
check:
src/hooks/useNodeViewDescriptor.ts#L30
Argument of type 'readonly DecorationInternal[]' is not assignable to parameter of type 'readonly Decoration[]'.
|
check:
src/hooks/useView.ts#L11
Argument of type 'import("/home/runner/work/react-prosemirror/react-prosemirror/src/prosemirror-view/index").EditorView' is not assignable to parameter of type 'import("/home/runner/work/react-prosemirror/react-prosemirror/.yarn/cache/prosemirror-view-npm-1.30.1-f24ae246c7-6dec020595.zip/node_modules/prosemirror-view/dist/index").EditorView'.
|
check:
src/hooks/useViewPlugins.ts#L4
Cannot find module '../prosemirror-view/EditorViewInternal.js' or its corresponding type declarations.
|
check:
src/prosemirror-view/capturekeys.ts#L19
Not all code paths return a value.
|
check:
src/prosemirror-view/capturekeys.ts#L32
'view.docView' is possibly 'undefined'.
|
check:
src/prosemirror-view/capturekeys.ts#L77
Argument of type 'ChildNode | undefined' is not assignable to parameter of type 'Node'.
|
check:
src/prosemirror-view/capturekeys.ts#L84
Argument of type 'ChildNode | undefined' is not assignable to parameter of type 'Node'.
|
check:
src/components/__tests__/EditorView.test.tsx#L508
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L520
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L533
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L540
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L547
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L556
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L565
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L575
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L591
Some tests seem to be commented
|
check:
src/components/__tests__/EditorView.test.tsx#L598
Some tests seem to be commented
|