diff --git a/typings/mysql/lib/constants/CharsetToEncoding.d.ts b/typings/mysql/lib/constants/CharsetToEncoding.d.ts new file mode 100644 index 0000000000..aa28389cb9 --- /dev/null +++ b/typings/mysql/lib/constants/CharsetToEncoding.d.ts @@ -0,0 +1,8 @@ +/** + * Constant `CharsetToEncoding`. + * + * Please note that `CharsetToEncoding` can only be accessed from the `mysql` object and not imported directly. + */ +declare const CharsetToEncoding: string[]; + +export { CharsetToEncoding }; diff --git a/typings/mysql/lib/constants/index.d.ts b/typings/mysql/lib/constants/index.d.ts index a7b69a73df..d08ba2cb89 100644 --- a/typings/mysql/lib/constants/index.d.ts +++ b/typings/mysql/lib/constants/index.d.ts @@ -1,4 +1,5 @@ import { Types } from './Types.js'; import { Charsets } from './Charsets.js'; +import { CharsetToEncoding } from './CharsetToEncoding.js'; -export { Types, Charsets }; +export { Types, Charsets, CharsetToEncoding };