From 5a26aadb62dc0e22374dcfde063e1cd6f2c48529 Mon Sep 17 00:00:00 2001 From: taoqf Date: Tue, 28 Aug 2018 17:03:51 +0800 Subject: [PATCH] change return type --- types/money-math/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/money-math/index.d.ts b/types/money-math/index.d.ts index 95b5f846d7..a86734c477 100644 --- a/types/money-math/index.d.ts +++ b/types/money-math/index.d.ts @@ -10,7 +10,7 @@ export function subtract(a: string, b: string): string; export function mul(a: string, b: string): string; export function div(a: string, b: string): string; export function percent(a: string, b: string): string; -export function cmp(a: string, b: string): 0 | 1 | -1; +export function cmp(a: string, b: string): 0 | number; export function isEqual(a: string, b: string): boolean; export function isZero(value: string): boolean; export function isNegative(value: string): boolean;