Skip to content

Commit f330b3d

Browse files
committed
chore: remove ts-ignore and ensure build runs before type checking
1 parent ee48c8c commit f330b3d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/developer-hub/src/source.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
import type { InferMetaType, InferPageType } from "fumadocs-core/source";
1010
import { loader } from "fumadocs-core/source";
1111
import { createElement } from "react";
12-
//@ts-ignore: .source is generated at build time
1312
import { docs } from "../.source";
1413

1514
const icons: Record<string, React.ComponentType> = {

apps/developer-hub/turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
},
3737
"test:lint:stylelint": {
3838
"dependsOn": ["//#install:modules"]
39+
},
40+
"test:types": {
41+
"dependsOn": ["//#install:modules", "^build", "build"]
3942
}
4043
}
4144
}

0 commit comments

Comments
 (0)