1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toInteger.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toInteger.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 转整数
|
||||
* @param num 数值/字符串
|
||||
*/
|
||||
export declare function toInteger(num: number | string | null): number;
|
||||
export declare function toInteger(num: any): number;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
toInteger: typeof toInteger;
|
||||
}
|
||||
}
|
||||
|
||||
export default toInteger
|
||||
Reference in New Issue
Block a user