Skip to content

Commit

Permalink
fix: missing typings for parserCache
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 4327cc3 commit 891a523
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions typings/mysql/index.d.ts
Expand Up @@ -33,6 +33,7 @@ export {
export * from './lib/protocol/packets/index.js';
export * from './lib/Auth.js';
export * from './lib/constants/index.js';
export * from './lib/parsers/index.js';

// Expose class interfaces
export interface Connection extends BaseConnection {}
Expand Down
4 changes: 4 additions & 0 deletions typings/mysql/lib/parsers/ParserCache.d.ts
@@ -0,0 +1,4 @@
declare function setMaxParserCache(max: number): void;
declare function clearParserCache(): void;

export { setMaxParserCache, clearParserCache };
3 changes: 3 additions & 0 deletions typings/mysql/lib/parsers/index.d.ts
@@ -0,0 +1,3 @@
import { setMaxParserCache, clearParserCache } from './ParserCache.js';

export { setMaxParserCache, clearParserCache };

0 comments on commit 891a523

Please sign in to comment.