Skip to content

Commit 609229a

Browse files
committed
fix: missing typings for CharsetToEncoding constants
1 parent 3661c0f commit 609229a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Constant `CharsetToEncoding`.
3+
*
4+
* Please note that `CharsetToEncoding` can only be accessed from the `mysql` object and not imported directly.
5+
*/
6+
declare const CharsetToEncoding: string[];
7+
8+
export { CharsetToEncoding };
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Types } from './Types.js';
22
import { Charsets } from './Charsets.js';
3+
import { CharsetToEncoding } from './CharsetToEncoding.js';
34

4-
export { Types, Charsets };
5+
export { Types, Charsets, CharsetToEncoding };

0 commit comments

Comments
 (0)