Skip to content

Commit

Permalink
chore: remove ts-error-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
DSil committed Nov 18, 2024
1 parent 7c71bb6 commit 747326c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/services/checkLinks.mts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const checkForDeadUrls = async () => {

const processor = await unified()
.use(parse)
// @ts-expect-error TODO
.use(inspectUrls, {
inspectEach({ file, node, url }) {
const properties = node.properties as { rel: string[] };
Expand Down
2 changes: 1 addition & 1 deletion scripts/checks.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { $, argv } from "zx";
// Check links
if (argv.links) {
await $`remark -e '.mdx' -q -u validate-links docs/src/documentation --no-config`;
await $`tsc docs/services/checkLinks.mts --moduleResolution node16 --downlevelIteration --esModuleInterop --resolveJsonModule --noEmit --skipLibCheck --module Node16`;
await $`tsc docs/services/checkLinks.mts --downlevelIteration --esModuleInterop --resolveJsonModule --noEmit --skipLibCheck`;
}
// Check component statuses for update
if (argv.statuses) {
Expand Down

0 comments on commit 747326c

Please sign in to comment.