diff --git a/package.json b/package.json index f8dca748..a3856c15 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@octokit/core": "4.1.0", "@octokit/plugin-paginate-rest": "5.0.1", "@tailwindcss/aspect-ratio": "0.4.2", - "@vercel/analytics": "0.1.8-beta.0", + "@vercel/analytics": "0.1.8", "classnames": "2.3.2", "github-slugger": "2.0.0", "gray-matter": "4.0.3", 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")) {