DefinitelyTyped/types/gematriya/index.d.ts
Nathan Shively-Sanders 455f136d0a
Use modern UMD syntax (#37378)
I didn't think this worked for functions until I tested it.
2019-08-05 13:02:29 -07:00

10 lines
475 B
TypeScript

// Type definitions for gematriya 2.0
// Project: https://github.com/Scimonster/js-gematriya
// Definitions by: Mendy Berger <https://github.com/MendyBerger>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function gematriya(num: number, options?: { limit?: number, punctuate?: boolean, geresh?: boolean }): string;
declare function gematriya(str: string, options?: { order?: boolean }): number;
export = gematriya;
export as namespace gematriya;