Skip to content

Commit

Permalink
chore(deps): update typescript (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue authored Apr 7, 2024
1 parent 44d8962 commit 533cb09
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion with-jest-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion with-jest-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion with-nextjs/components/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface MyEditorProps {
}

const CoreEditor: React.FC<MyEditorProps> = ({ onChange, initialContent }) => {
const { manager } = useRemirror({ extensions: () => [new BoldExtension()] });
const { manager } = useRemirror({ extensions: () => [new BoldExtension({})] });
return (
<div style={{ width: "100%", maxWidth: "500px" }}>
<Remirror
Expand Down
2 changes: 1 addition & 1 deletion with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-remirror": "^2.1.5",
"typescript": "^5.3.3"
"typescript": "^5.4.4"
}
}
2 changes: 1 addition & 1 deletion with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/react": "^18.2.62",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.3.3",
"typescript": "^5.4.4",
"vite": "^5.1.5"
}
}
8 changes: 4 additions & 4 deletions with-vite/src/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import {
} from "@remirror/react";

const extensions = () => [
new HeadingExtension(),
new BoldExtension(),
new ItalicExtension(),
new UnderlineExtension(),
new HeadingExtension({}),
new BoldExtension({}),
new ItalicExtension({}),
new UnderlineExtension({}),
];

function EditorToolbar() {
Expand Down

0 comments on commit 533cb09

Please sign in to comment.