mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-05 18:08:25 -04:00
9 lines
229 B
JavaScript
9 lines
229 B
JavaScript
const { TextEncoder, TextDecoder } = require("util");
|
|
|
|
if (typeof global.TextEncoder === "undefined") {
|
|
global.TextEncoder = TextEncoder;
|
|
}
|
|
if (typeof global.TextDecoder === "undefined") {
|
|
global.TextDecoder = TextDecoder;
|
|
}
|