Skip to content

Commit

Permalink
quick update to remove now useless @ts-expect-error flag for a much n…
Browse files Browse the repository at this point in the history
…eed update to sister package ultrahtml
  • Loading branch information
Adammatthiesen authored and natemoo-re committed Feb 20, 2024
1 parent 73d2e4d commit a916309
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions package/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/**@ts-expect-error */
import { renderJSX } from "astro/runtime/server/jsx";
import { jsx as h } from "astro/jsx-runtime";

import { transform } from "ultrahtml";
/**@ts-expect-error */
//This Will get removed once the export is fixed. still works with error!
import { __unsafeHTML } from "ultrahtml";
import sanitize from "ultrahtml/transformers/sanitize";
import swap from "ultrahtml/transformers/swap";
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"marked": "^12.0.0",
"marked-footnote": "^1.2.2",
"marked-smartypants": "^1.1.6",
"ultrahtml": "^1.5.2"
"ultrahtml": "^1.5.3"
},
"devDependencies": {
"astro": "^4.0.0"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

0 comments on commit a916309

Please sign in to comment.