Skip to content

Commit 4ce2c70

Browse files
committedJun 24, 2023
fix: missing constants in promise.js
1 parent 297d34d commit 4ce2c70

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎promise.js

+10
Original file line numberDiff line numberDiff line change
@@ -563,3 +563,13 @@ exports.raw = core.raw;
563563
exports.PromisePool = PromisePool;
564564
exports.PromiseConnection = PromiseConnection;
565565
exports.PromisePoolConnection = PromisePoolConnection;
566+
567+
exports.__defineGetter__('Types', () => require('./lib/constants/types.js'));
568+
569+
exports.__defineGetter__('Charsets', () =>
570+
require('./lib/constants/charsets.js')
571+
);
572+
573+
exports.__defineGetter__('CharsetToEncoding', () =>
574+
require('./lib/constants/charset_encodings.js')
575+
);

0 commit comments

Comments
 (0)
Please sign in to comment.