-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Description
Feature Description
In some applications with stricter typing rules, type any is disallowed. With that in mind, I believe a way to type the error coming from the driver is necessary.
The Solution
Implement a generic typing on QueryFailedError class with Error being de default type.
Considered Alternatives
I don't think of a better alternative with less impact.
Additional Context
No response
Relevant Database Driver(s)
- aurora-mysql
- aurora-postgres
- better-sqlite3
- cockroachdb
- cordova
- expo
- mongodb
- mysql
- nativescript
- oracle
- postgres
- react-native
- sap
- spanner
- sqlite
- sqlite-abstract
- sqljs
- sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.