mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Use modern UMD syntax (#37378)
I didn't think this worked for functions until I tested it.
This commit is contained in:
parent
cdcaa4a2d7
commit
455f136d0a
7
types/gematriya/index.d.ts
vendored
7
types/gematriya/index.d.ts
vendored
@ -3,8 +3,7 @@
|
||||
// Definitions by: Mendy Berger <https://github.com/MendyBerger>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare global {
|
||||
function gematriya(num: number, options?: { limit?: number, punctuate?: boolean, geresh?: boolean }): string;
|
||||
function gematriya(str: string, options?: { order?: boolean }): number;
|
||||
}
|
||||
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user