-
-
Notifications
You must be signed in to change notification settings - Fork 297
Open
@jonenst
Description
React Query Builder version
v8.8.4
Platform
tsc Version 5.9.2, npm -v 10.9.2, linux
Description
tsc without skipLibCheck complains on missing transitive depe
Reproduction
$ npm i react react-querybuilder typescript
$ cat index.ts
import { QueryBuilder } from "react-querybuilder";
ok
$ npx tsc index.ts --target es2016 --moduleResolution bundler --skipLibCheck
ko
$ npx tsc index.ts --target es2016 --moduleResolution bundler
node_modules/react-querybuilder/dist/types-esm/utils/formatQuery/defaultRuleGroupProcessorDrizzle.d.mts:1:52 - error TS2307: Cannot find module 'drizzle-orm' or its corresponding type declarations.
Expected behavior
shouldn't have to use skipLibCheck or add optional dependencies to have tsc work
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels