mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
11 lines
313 B
TypeScript
11 lines
313 B
TypeScript
// @target: es5
|
|
// @lib: es2015
|
|
// @noTypesAndSymbols: true
|
|
// https://github.com/microsoft/TypeScript/issues/40643
|
|
const list: any[] = []
|
|
for (const comp of list) {
|
|
comp.sp.y = comp.sp.r.find((k: any) => k.c == (comp.xp ? '1' : '0'))
|
|
for (const item of comp.c) {
|
|
item.v = !!item.t?.length
|
|
}
|
|
} |