We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a72171 commit 68ec74cCopy full SHA for 68ec74c
packages/cubejs-mssql-driver/src/types/mssql.d.ts
@@ -0,0 +1,13 @@
1
+import 'mssql';
2
+
3
+// Because "@types/mssql": "^9.1.7" (latest as of Apr 2025) still doesn't have info about valueHandler
4
+declare module 'mssql' {
5
+ namespace valueHandler {
6
+ function set(
7
+ type: any,
8
+ handler: (value: unknown) => unknown
9
+ ): void;
10
+ }
11
12
+ export const valueHandler: typeof valueHandler;
13
+}
packages/cubejs-mssql-driver/tsconfig.json
@@ -8,5 +8,6 @@
"outDir": "dist",
"rootDir": ".",
"baseUrl": ".",
+ "typeRoots": ["./node_modules/@types", "./src/types"]
}
0 commit comments