typescript errors with typescript: Argument of type '{ mode: string; }' is not assignable to parameter of type 'string'. [2345].
Likewise npx drizzle-kit push errors with
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?0.22.8
Other packages
-
Describe the Bug
While defining sqlite columns using your examples in the documentation
typescript errors with
typescript: Argument of type '{ mode: string; }' is not assignable to parameter of type 'string'. [2345]
. Likewisenpx drizzle-kit push
errors withbetter-sqlite3, monorepo, typescript v5.6.3, nodejs, tsconfig.json: