fix ts references when backend is none or convex

This commit is contained in:
Aman Varshney
2025-05-12 13:36:05 +05:30
parent 7227696dec
commit 484095157d
10 changed files with 24 additions and 1 deletions

View File

@@ -25,7 +25,9 @@
},
"include": ["./next-env.d.ts", "./**/*.ts", "./**/*.tsx", "./.next/types/**/*.ts"],
"exclude": ["./node_modules"],
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"references": [{
"path": "../server"
}]
{{/unless}}
}

View File

@@ -24,7 +24,9 @@
"skipLibCheck": true,
"strict": true
},
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"references": [{
"path": "../server"
}]
{{/unless}}
}

View File

@@ -15,7 +15,9 @@
"@/*": ["./src/*"]
}
},
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"references": [{
"path": "../server"
}]
{{/unless}}
}

View File

@@ -25,7 +25,9 @@
"@/*": ["./src/*"]
}
},
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"references": [{
"path": "../server"
}]
{{/unless}}
}