diff --git a/package.json b/package.json index cfa8410..0f2228b 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "storybook": "^7.4.0", + "typescript": "^5.2.2", "vite": "^4.3.9", "vite-plugin-dts": "^3.5.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1cd90a..f67f94f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,6 +85,9 @@ devDependencies: storybook: specifier: ^7.4.0 version: 7.4.1 + typescript: + specifier: ^5.2.2 + version: 5.2.2 vite: specifier: ^4.3.9 version: 4.4.9 diff --git a/tsconfig.json b/tsconfig.json index ffa90c1..902832d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react", + "jsx": "react-jsx", "jsxImportSource": "@emotion/react", "outDir": "dist",