Skip to content

Commit

Permalink
chore: update tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
SameerJadav committed Oct 12, 2023
1 parent 265ce4a commit 671bb26
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "next start --port 5000",
"preview": "pnpm run build && pnpm run start",
"postinstall": "prisma generate",
"typecheck": "tsc --noEmit --skipLibCheck",
"typecheck": "tsc",
"typecheck-lint": "pnpm run lint && pnpm run typecheck"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { Suspense, useState } from "react"
import { useSignIn } from "@clerk/nextjs"
import { type OAuthStrategy } from "@clerk/nextjs/dist/types/server"
import type { OAuthStrategy } from "@clerk/types"
import { Button } from "~/components/ui/button"
import Skeleton from "~/components/ui/skeleton"
import { Icons } from "~/components/Icons"
Expand Down
24 changes: 13 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"compilerOptions": {
"target": "es2017",
"lib": ["dom", "dom.iterable", "esnext"],
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"checkJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"isolatedModules": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"strict": true,
"noUncheckedIndexedAccess": true,
"moduleResolution": "Bundler",
"module": "ESNext",
"jsx": "preserve",
"noEmit": true,
"lib": ["dom", "dom.iterable", "ESNext", "ES2022"],
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
Expand Down

1 comment on commit 671bb26

@vercel
Copy link

@vercel vercel bot commented on 671bb26 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.