@formily/shared
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1,1 +0,1 @@ | ||
export declare const stringLength: (input: string) => number; | ||
export declare const stringLength: (input: string) => any; |
{ | ||
"name": "@formily/shared", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -21,3 +21,3 @@ "main": "lib", | ||
}, | ||
"gitHead": "a5676b3b826ffc695d41bab2a539c539d8c66a9d", | ||
"gitHead": "aa80fcff3a7cece323f5302486a697dfbe3efc08", | ||
"scripts": { | ||
@@ -27,3 +27,3 @@ "build": "tsc --declaration" | ||
"devDependencies": { | ||
"typescript": "^3.5.2" | ||
"typescript": "~3.8.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "dependencies": { |
@@ -18,3 +18,3 @@ // ansiRegex | ||
// stripAnsi | ||
const stripAnsi = <T extends any>(input: T): T => | ||
const stripAnsi = (input: any) => | ||
typeof input === 'string' ? input.replace(ansiRegex(), '') : input | ||
@@ -21,0 +21,0 @@ |
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
69821