a little more
This commit is contained in:
parent
858b0e3dd7
commit
b5a1b3a124
|
@ -430,7 +430,7 @@ export function findByFactoryCode<T = AnyObject>(...code: string[] | [...string[
|
||||||
* @returns Unmangled exports as specified in mappers
|
* @returns Unmangled exports as specified in mappers
|
||||||
*/
|
*/
|
||||||
export function mapMangledModule<S extends PropertyKey>(code: string | string[], mappers: Record<S, FilterFn>) {
|
export function mapMangledModule<S extends PropertyKey>(code: string | string[], mappers: Record<S, FilterFn>) {
|
||||||
const mapping = {} as Record<S, any>;
|
const mapping = {} as Record<S, ProxyInner<AnyObject>>;
|
||||||
const setters = {} as Record<S, (innerValue: any) => void>;
|
const setters = {} as Record<S, (innerValue: any) => void>;
|
||||||
|
|
||||||
for (const newName in mappers) {
|
for (const newName in mappers) {
|
||||||
|
|
Loading…
Reference in a new issue