Skip to content

Commit

Permalink
fix: missing typings for CharsetToEncoding constants
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 3661c0f commit 609229a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions typings/mysql/lib/constants/CharsetToEncoding.d.ts
Original file line number Diff line number Diff line change
@@ -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 };
3 changes: 2 additions & 1 deletion typings/mysql/lib/constants/index.d.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit 609229a

Please sign in to comment.