Make patchedBy a string set

This commit is contained in:
Nuckyz 2024-05-22 06:08:28 -03:00
parent cf9bbfc78f
commit c4645f79c6
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -141,7 +141,7 @@ function patchFactory(id: string, mod: (module: any, exports: any, require: Webp
}
const originalMod = mod;
const patchedBy = new Set();
const patchedBy = new Set<string>();
// Discords Webpack chunks for some ungodly reason contain random
// newlines. Cyn recommended this workaround and it seems to work fine,