Skip to content

Commit 6233315

Browse files
committed
update tsconfig
1 parent aa077be commit 6233315

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

src/components/home/LandingSection/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import MyLink from '@/components/common/MyLink'
44
import { GITHUB_PROFILE_LINK } from '@/constants/project'
55
import { HOMEPAGE_DESCRIPTION } from '@/constants/metadata'
66
import Image from 'next/image'
7-
// @ts-expect-error Ignore import error for image file
87
import waveImage from '@public/assets/home/wave.webp'
98

109
export default function LandingSection() {

src/constants/home/project.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import type { StaticImageData } from 'next/image'
22
import type { TechStackName } from './techstack'
33

4-
// @ts-expect-error Ignore import error for image file
54
import randomSeatScreenshot from '@public/assets/projects/thumbnail/random-seat.webp'
6-
// @ts-expect-error Ignore import error for image file
75
import lottoGeneratorScreenshot from '@public/assets/projects/thumbnail/lotto-generator.webp'
8-
// @ts-expect-error Ignore import error for image file
96
import daySummaryScreenshot from '@public/assets/projects/thumbnail/day-summarry.webp'
107

118
export type ProjectData = {

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "bundler",
1212
"resolveJsonModule": true,
1313
"isolatedModules": true,
14-
"jsx": "preserve",
14+
"jsx": "react-jsx",
1515
"incremental": true,
1616
"verbatimModuleSyntax": true,
1717
"plugins": [
@@ -29,7 +29,8 @@
2929
"**/*.ts",
3030
"**/*.tsx",
3131
".next/types/**/*.ts",
32-
"out/types/**/*.ts"
32+
"out/types/**/*.ts",
33+
".next/dev/types/**/*.ts"
3334
],
3435
"exclude": ["node_modules"]
3536
}

0 commit comments

Comments
 (0)