react-hooks-library
Advanced tools
Comparing version 0.0.20 to 0.0.23
@@ -5,3 +5,2 @@ import { Numeric } from './Numeric'; | ||
readonly yuan: number; | ||
readonly fuzzyYuan: number; | ||
readonly kind: typeof Currency; | ||
@@ -8,0 +7,0 @@ static isCurrency<P>(model: P): boolean; |
@@ -36,9 +36,2 @@ import * as tslib_1 from "tslib"; | ||
}); | ||
Object.defineProperty(Currency.prototype, "fuzzyYuan", { | ||
get: function () { | ||
return numeral(this.presentation).value(); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Currency.prototype, "kind", { | ||
@@ -45,0 +38,0 @@ get: function () { |
@@ -65,3 +65,3 @@ import * as tslib_1 from "tslib"; | ||
typeof props.onFailure === 'function' && props.onFailure(error_1); | ||
throw error_1; | ||
return [3 /*break*/, 4]; | ||
case 4: return [2 /*return*/, undefined]; | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "react-hooks-library", | ||
"version": "0.0.20", | ||
"version": "0.0.23", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -16,6 +16,2 @@ import numeral from 'numeral' | ||
public get fuzzyYuan(): number { | ||
return numeral(this.presentation).value() | ||
} | ||
public get kind() { | ||
@@ -22,0 +18,0 @@ return Currency |
@@ -76,4 +76,2 @@ import { useState, useEffect } from 'react' | ||
typeof props.onFailure === 'function' && props.onFailure(error) | ||
throw error | ||
} | ||
@@ -80,0 +78,0 @@ } |
@@ -196,3 +196,3 @@ { | ||
"no-dynamic-delete": true, | ||
"no-empty": true, | ||
"no-empty": false, | ||
"no-empty-interface": true, | ||
@@ -199,0 +199,0 @@ "no-eval": true, |
311591
90
2292