helloworld1_1
helloworld1_1
DTDrizzle Team
Created by helloworld1_1 on 7/22/2024 in #help
Type inference breaking in drizzle-orm 0.32.0 ?
Well, I guess setting 'strict' to true was what's missing. Thanks. Raphaël.
18 replies
DTDrizzle Team
Created by helloworld1_1 on 7/22/2024 in #help
Type inference breaking in drizzle-orm 0.32.0 ?
No I am not setting strict mode to true but it used to work fine without strict mode { "extends": "../../tsconfig.base.json", "files": [], "include": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.spec.json" } ], "compilerOptions": { "esModuleInterop": true } } { "compileOnSave": false, "compilerOptions": { "rootDir": ".", "sourceMap": true, "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es2015", "module": "esnext", "lib": ["es2020", "dom"], "skipLibCheck": true, "skipDefaultLibCheck": true, "baseUrl": ".", }, "exclude": ["node_modules", "tmp"] }
18 replies
DTDrizzle Team
Created by helloworld1_1 on 7/22/2024 in #help
Type inference breaking in drizzle-orm 0.32.0 ?
here's my tsconfig.json { "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", "module": "commonjs", "types": ["node"], "emitDecoratorMetadata": true, "target": "es2021" }, "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"], "include": ["src/**/*.ts"] } and here's my tsconfig.app.json { "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", "module": "commonjs", "types": ["node"], "emitDecoratorMetadata": true, "target": "es2021" }, "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"], "include": ["src/**/*.ts"] }
18 replies