diff --git a/typings/mysql/index.d.ts b/typings/mysql/index.d.ts index f737d601c1..ee5835036c 100644 --- a/typings/mysql/index.d.ts +++ b/typings/mysql/index.d.ts @@ -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 {} diff --git a/typings/mysql/lib/parsers/ParserCache.d.ts b/typings/mysql/lib/parsers/ParserCache.d.ts new file mode 100644 index 0000000000..0f1e7fa219 --- /dev/null +++ b/typings/mysql/lib/parsers/ParserCache.d.ts @@ -0,0 +1,4 @@ +declare function setMaxParserCache(max: number): void; +declare function clearParserCache(): void; + +export { setMaxParserCache, clearParserCache }; diff --git a/typings/mysql/lib/parsers/index.d.ts b/typings/mysql/lib/parsers/index.d.ts new file mode 100644 index 0000000000..7f1d48e943 --- /dev/null +++ b/typings/mysql/lib/parsers/index.d.ts @@ -0,0 +1,3 @@ +import { setMaxParserCache, clearParserCache } from './ParserCache.js'; + +export { setMaxParserCache, clearParserCache };