@borgar/fx 4.11.2 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fx.d.ts CHANGED
@@ -230,6 +230,7 @@ export declare function mergeRefTokens(tokenlist: Array<Token>): Array<Token>;
230
230
  * @param [options={}] Options
231
231
  * @param [options.allowNamed=true] Enable parsing names as well as ranges.
232
232
  * @param [options.allowTernary=false] Enables the recognition of ternary ranges in the style of `A1:A` or `A1:1`. These are supported by Google Sheets but not Excel. See: References.md.
233
+ * @param [options.looseRefCalls=false] Permits any function call where otherwise only functions that return references would be permitted.
233
234
  * @param [options.negativeNumbers=true] Merges unary minuses with their immediately following number tokens (`-`,`1`) => `-1` (alternatively these will be unary operations in the tree).
234
235
  * @param [options.permitArrayCalls=false] Function calls are allowed as elements of arrays. This is a feature in Google Sheets while Excel does not allow it.
235
236
  * @param [options.permitArrayRanges=false] Ranges are allowed as elements of arrays. This is a feature in Google Sheets while Excel does not allow it.
@@ -243,6 +244,8 @@ export declare function parse(formula: (string | Array<Token>), options?: {
243
244
  allowNamed?: boolean;
244
245
  /** Enables the recognition of ternary ranges in the style of `A1:A` or `A1:1`. These are supported by Google Sheets but not Excel. See: References.md. */
245
246
  allowTernary?: boolean;
247
+ /** Permits any function call where otherwise only functions that return references would be permitted. */
248
+ looseRefCalls?: boolean;
246
249
  /** Merges unary minuses with their immediately following number tokens (`-`,`1`) => `-1` (alternatively these will be unary operations in the tree). */
247
250
  negativeNumbers?: boolean;
248
251
  /** Function calls are allowed as elements of arrays. This is a feature in Google Sheets while Excel does not allow it. */