Skip to content

Commit 891a523

Browse files
committed
fix: missing typings for parserCache
1 parent 4327cc3 commit 891a523

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

typings/mysql/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export {
3333
export * from './lib/protocol/packets/index.js';
3434
export * from './lib/Auth.js';
3535
export * from './lib/constants/index.js';
36+
export * from './lib/parsers/index.js';
3637

3738
// Expose class interfaces
3839
export interface Connection extends BaseConnection {}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare function setMaxParserCache(max: number): void;
2+
declare function clearParserCache(): void;
3+
4+
export { setMaxParserCache, clearParserCache };

typings/mysql/lib/parsers/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { setMaxParserCache, clearParserCache } from './ParserCache.js';
2+
3+
export { setMaxParserCache, clearParserCache };

0 commit comments

Comments
 (0)