Skip to content

Commit

Permalink
add types/unist
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed May 10, 2024
1 parent 190f9d8 commit 30b4dfc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/lib/remarkCodeSandboxURLUpdater.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { visit, Node } from "unist-util-visit";
import type { Node } from "unist";
import { visit } from "unist-util-visit";

const codesandboxBaseUrl = "https://codesandbox.io/s";

type Params = Record<string, string | number>;

const defaultParams = {
codemirror: 1,
fontsize: 14,
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@types/d3-ease": "^3.0.0",
"@types/node": "17.0.8",
"@types/react": "17.0.38",
"@types/unist": "^2.0.0",
"autoprefixer": "^10.4.13",
"eslint": "8.6.0",
"eslint-config-next": "12.0.7",
Expand Down
3 changes: 3 additions & 0 deletions website/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30b4dfc

Please sign in to comment.