diff --git a/package.json b/package.json index 5a3734c..e1f3183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wxhccc/es-util", - "version": "1.5.0", + "version": "1.5.1", "description": "A library that contains some useful methods", "main": "dist/index.js", "module": "dist/index.esm.js", diff --git a/src/optional.ts b/src/optional.ts index e2c99f6..e02d9bf 100644 --- a/src/optional.ts +++ b/src/optional.ts @@ -77,8 +77,8 @@ export const formParamsSwitch = string + filterNullable?: boolean + dateFormat?: (date: any, format?: string) => string } ) => { const dateKeys = Object.keys(maps)