Skip to content

Commit

Permalink
fix: update nextjs example
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 17, 2024
1 parent 7125acc commit e7de9d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/nextjs/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
14 changes: 11 additions & 3 deletions examples/nextjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
{
"exclude": ["node_modules"],
"exclude": [
"node_modules"
],
"extends": "@repo/typescript-config/nextjs.json",
"compilerOptions": {
"outDir": "dist",
"plugins": [
{
"name": "next"
}
]
],
"strictNullChecks": true
},
"include": ["src", "next.config.js", "next-env.d.ts", ".next/types/**/*.ts"]
"include": [
"src",
"next.config.js",
"next-env.d.ts",
".next/types/**/*.ts"
]
}

0 comments on commit e7de9d5

Please sign in to comment.