Skip to content

Commit b3776d0

Browse files
committed
add missing typegen command
1 parent 605a56b commit b3776d0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

intro-template/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Image from 'next/image'
55
import Link from 'next/link'
66
import {usePathname} from 'next/navigation'
77
import {useSyncExternalStore} from 'react'
8-
// @ts-expect-error - fix typings later
98
import cover from './cover.png'
109

1110
const subscribe = () => () => {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "eslint .",
1010
"lint:fix": "npm run format && npm run lint -- --fix",
1111
"start": "next start",
12-
"type-check": "tsc --noEmit",
12+
"type-check": "next typegen && tsc --noEmit",
1313
"typegen": "sanity schema extract && sanity typegen generate"
1414
},
1515
"dependencies": {

0 commit comments

Comments
 (0)