Kranga
Procedure return types are getting inferred as any
This is my current tsconfig trying everything I found online to try to make it work
{
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"compilerOptions": {
"composite": true,
"target": "ESNext",
"lib": ["esnext"],
"allowJs": true,
"checkJs": true,
"skipLibCheck": false,
"strict": true,
"module": "ESNext",
"moduleResolution": "bundler",
"baseUrl": ".",
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"esModuleInterop": true,
"noUncheckedIndexedAccess": true,
"declaration": true,
"declarationMap": true,
"paths": {
"#trpc": ["./trpc.js"],
"#db": ["./prisma/db.js"],
"#constants": ["./constants.js"],
},
},
"include": ["./*\*/\*"],
"references": [
{"path": "../front"}
],
"exclude": ["node_modules", "types"]
}
4 replies