Installation
npm install --save @types/string-math
Summary
This package contains type definitions for string-math (https://github.com/devrafalko/string-math).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-math.
index.d.ts
/**
* Resolves arithmetical equation
* @param eq - Equation to resolve
* @param callback - (optional) Callback function for error and result
*/
declare function stringMath(
eq: string,
callback?: (errorObj: Error | null, result: number | null) => void,
): number | null;
export = stringMath;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Rouzwelt.