diff --git a/types/gematriya/index.d.ts b/types/gematriya/index.d.ts index ae77b0df10..b3b40b8571 100644 --- a/types/gematriya/index.d.ts +++ b/types/gematriya/index.d.ts @@ -3,8 +3,7 @@ // Definitions by: Mendy Berger // 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;