@types/string-math
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/string-math

      Weekly Downloads

      540

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      3.15 kB

      Total Files

      5

      Last publish

      Collaborators

      • types