@@ -9527,6 +9527,7 @@ const _evaluateCalcProduct = (tokens, cursor) => {
95279527 if (token.type === "/") {
95289528 const divisor = right.get("");
95299529 if (divisor === undefined || right.size !== 1) return null;
9530+ /** @type {Map<string, number>} */
95309531 const out = new Map();
95319532 for (const [key, coefficient] of sum) {
95329533 const quotient = foldDivide(coefficient, divisor);
@@ -9543,6 +9544,7 @@ const _evaluateCalcProduct = (tokens, cursor) => {
95439544 const factor = rightNumber !== undefined ? rightNumber : leftNumber;
95449545 const other = rightNumber !== undefined ? sum : right;
95459546 if (factor === undefined) return null;
9547+ /** @type {Map<string, number>} */
95469548 const out = new Map();
95479549 for (const [key, coefficient] of other) {
95489550 const product = foldMultiply(coefficient, factor);
@@ -10093,6 +10095,7 @@ const _neededPrefixes = (table, name) => {
1009310095 /** @type {Set<string> | null} */
1009410096 let result = null;
1009510097 if (prefixes !== undefined) {
10098+ /** @type {Set<string>} */
1009610099 const needed = new Set();
1009710100 const prefixWindows = getPrefixWindows();
1009810101 for (const [prefix, windows] of prefixes) {
@@ -16444,6 +16447,7 @@ const _propertiesOverlap = (a, b) => {
1644416447 * @returns {Set<string>} the property names, lowercased
1644516448 */
1644616449const _blockProperties = (body) => {
16450+ /** @type {Set<string>} */
1644716451 const out = new Set();
1644816452 let depth = 0;
1644916453 let quote = 0;
0 commit comments