diff --git a/package.json b/package.json index f8dca748..06ce9eaa 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "eslint-config-prettier": "8.6.0", "eslint-plugin-prettier": "4.2.1", "graphql": "16.6.0", - "prettier": "2.8.2", + "prettier": "2.8.3", "tailwindcss": "3.2.4" }, "repository": { diff --git a/rehype-plugins/rehype-highlight-code.ts b/rehype-plugins/rehype-highlight-code.ts index 331c5030..f65f7046 100644 --- a/rehype-plugins/rehype-highlight-code.ts +++ b/rehype-plugins/rehype-highlight-code.ts @@ -19,7 +19,7 @@ refractor.register(json); const highlightLines = (root: Root, lines: number[]) => { let currentGroup: typeof root.children = []; - const lineGroups: (typeof currentGroup)[] = []; + const lineGroups: typeof currentGroup[] = []; const addToGroups = (node: Text) => { if (node.value.startsWith("\n")) {