Skip to content

Commit

Permalink
Merge pull request #14 from wxhccc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wxhccc authored Dec 30, 2021
2 parents 3a858c2 + acce652 commit bf6f9e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/optional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export const formParamsSwitch = <T extends AnyObject, R extends AnyObject = AnyO
formData: T,
maps: ParamsSwitchMaps,
options?: {
filterNullable: boolean
dateFormat: (date: unknown, format?: string) => string
filterNullable?: boolean
dateFormat?: (date: any, format?: string) => string
}
) => {
const dateKeys = Object.keys(maps)
Expand Down

0 comments on commit bf6f9e8

Please sign in to comment.