Skip to content

Commit

Permalink
fix: node16
Browse files Browse the repository at this point in the history
  • Loading branch information
hbsnow committed Jan 27, 2023
1 parent fc12b39 commit 11f80eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"devDependencies": {
"@types/node": "^18.11.18",
"@vitest/coverage-c8": "^0.27.1",
"hast": "^1.0.0",
"hastscript": "^7.2.0",
"rehype-minify-whitespace": "^5.0.1",
"rimraf": "^4.0.4",
Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Plugin } from "unified";
import { headingRank } from "hast-util-heading-rank";
import { heading } from "hast-util-heading";
import type { Root, RootContent } from "hast";
import type { Element, Root, RootContent } from "hast";
import type { Properties } from "hastscript";
import type { Element } from "hastscript/lib/core";

export type RehypeSectionizeOptions = {
properties?: Properties | undefined;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"module": "node16",
"moduleResolution": "Node",
"moduleResolution": "node16",
"esModuleInterop": true,
"strict": true,
"lib": [
Expand Down

0 comments on commit 11f80eb

Please sign in to comment.