Comparing version 0.0.21 to 0.0.22
{ | ||
"name": "xmcommon", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "javascript common lib for es6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -34,2 +34,7 @@ # xmcommon | ||
## 0.0.22 | ||
- 2019-07-04 | ||
- \* 修改index.d.ts,增加允许默认值参数定义 | ||
## 0.0.21 | ||
@@ -36,0 +41,0 @@ |
@@ -1064,3 +1064,3 @@ // Type definitions for xmcommon 0.0 | ||
*/ | ||
public constructor(paramValue: number | string | CNYCurrency | null | undefined); | ||
public constructor(paramValue?: number | string | CNYCurrency | null | undefined); | ||
/** 判断指定的对象,是不是指定的CNYCurrency对象 */ | ||
@@ -1083,3 +1083,3 @@ public static isCurrency(paramV: any): boolean; | ||
*/ | ||
public assign(paramValue: number | string | CNYCurrency | null | undefined): CNYCurrency; | ||
public assign(paramValue?: number | string | CNYCurrency | null | undefined): CNYCurrency; | ||
/** | ||
@@ -1163,4 +1163,4 @@ * 加一个值 | ||
*/ | ||
public format(paramUseSymbol: boolean, paramCNYsplit: boolean): string; | ||
public format(paramUseSymbol?: boolean, paramCNYsplit?: boolean): string; | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import {utils, MemorySize, getLogger, SimpleCode} from "xmcommon" | ||
import {utils, MemorySize, getLogger, SimpleCode, CNYCurrency} from "xmcommon" | ||
// import * as base64js from "base64-js"; | ||
@@ -12,1 +12,4 @@ // base64js.byteLength(""); // $ExpectType number | ||
let v = getLogger(__filename); | ||
let vv = new CNYCurrency(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
390692
30
3896
198