ts type error
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { isInteger, isString } from "lodash-es";
|
import { isInteger, isString } from "lodash-es";
|
||||||
|
|
||||||
export function simpleSerialize(...values : (string|number)[]): string{
|
export function simpleSerialize(...values : (string|number)[]): string{
|
||||||
const result = [];
|
const result: string[] = [];
|
||||||
for(const value of values){
|
for(const value of values){
|
||||||
if(isString(value)){
|
if(isString(value)){
|
||||||
result.push(`str(${value.length},${value})`);
|
result.push(`str(${value.length},${value})`);
|
||||||
|
|||||||
Reference in New Issue
Block a user