protobuf codec with static type inference jsr.io/@mary/protobuf
typescript jsr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: don't inline `set`

Mary 22d01327 8c8c158f

+4 -4
+4 -4
lib/mod.ts
··· 1575 1575 idx++; 1576 1576 } 1577 1577 1578 - /*#__INLINE__*/ set(obj, key, array); 1578 + set(obj, key, array); 1579 1579 } else { 1580 1580 let array = obj[key] as unknown[] | undefined; 1581 1581 if (array === undefined) { ··· 1597 1597 return prependPath(key, result); 1598 1598 } 1599 1599 1600 - /*#__INLINE__*/ set(obj, key, result.value); 1600 + set(obj, key, result.value); 1601 1601 } 1602 1602 } 1603 1603 ··· 1615 1615 defaultValue = defaultValue(); 1616 1616 } 1617 1617 1618 - /*#__INLINE__*/ set(obj, entry.key, defaultValue); 1618 + set(obj, entry.key, defaultValue); 1619 1619 } 1620 1620 } else if (entry.repeated && !entry.packed) { 1621 - /*#__INLINE__*/ set(obj, entry.key, []); 1621 + set(obj, entry.key, []); 1622 1622 } else { 1623 1623 return entry.missingIssue; 1624 1624 }