Skip to content

Commit

Permalink
fix: third-party library type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliot00 committed Mar 8, 2024
1 parent 275abf9 commit ed9e9c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Preview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function Preview({ org }: Props) {
const processor = unified()
.use(parse)
.use(uniorg2rehype)
// @ts-expect-error: Just type error, don't know why
.use(highlight)
.use(stringify);

Expand Down

0 comments on commit ed9e9c1

Please sign in to comment.