mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix type error in prisma.config.ts
This commit is contained in:
5
.changeset/heavy-weeks-jog.md
Normal file
5
.changeset/heavy-weeks-jog.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix prisma type error
|
||||||
@@ -23,7 +23,10 @@
|
|||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
{{#if (eq orm 'prisma')}},
|
||||||
|
"prisma": ["node_modules/prisma"]
|
||||||
|
{{/if}}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
|
{{#if (eq orm 'prisma')}},
|
||||||
|
"prisma": ["node_modules/prisma"]
|
||||||
|
{{/if}}
|
||||||
},
|
},
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"types": [
|
"types": [
|
||||||
|
|||||||
Reference in New Issue
Block a user