diff --git a/with-jest-swc/package.json b/with-jest-swc/package.json index 68a16ae..98322d1 100644 --- a/with-jest-swc/package.json +++ b/with-jest-swc/package.json @@ -20,6 +20,6 @@ "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-remirror": "^2.1.5", - "typescript": "^5.3.3" + "typescript": "^5.4.4" } } diff --git a/with-jest-ts/package.json b/with-jest-ts/package.json index aca1c0b..49fddbd 100644 --- a/with-jest-ts/package.json +++ b/with-jest-ts/package.json @@ -18,6 +18,6 @@ "jest-environment-jsdom": "^29.7.0", "jest-remirror": "^2.1.5", "ts-jest": "^29.1.2", - "typescript": "^5.3.3" + "typescript": "^5.4.4" } } diff --git a/with-nextjs/components/editor.tsx b/with-nextjs/components/editor.tsx index 12e1b97..006e066 100644 --- a/with-nextjs/components/editor.tsx +++ b/with-nextjs/components/editor.tsx @@ -30,7 +30,7 @@ interface MyEditorProps { } const CoreEditor: React.FC = ({ onChange, initialContent }) => { - const { manager } = useRemirror({ extensions: () => [new BoldExtension()] }); + const { manager } = useRemirror({ extensions: () => [new BoldExtension({})] }); return (
[ - new HeadingExtension(), - new BoldExtension(), - new ItalicExtension(), - new UnderlineExtension(), + new HeadingExtension({}), + new BoldExtension({}), + new ItalicExtension({}), + new UnderlineExtension({}), ]; function EditorToolbar() {