Skip to content

Commit

Permalink
Merge pull request #43 from cuikangjie/master
Browse files Browse the repository at this point in the history
fix stringify space bug
  • Loading branch information
Kikobeats committed Apr 17, 2020
2 parents 0d27818 + 7335a7c commit f6163ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -19,7 +19,7 @@ function getStringifyParams (params) {
return Args([
{ data: Args.OBJECT | Args.Required },
{ replacer: Args.FUNCTION | Args.Optional },
{ space: Args.NUMBER | Args.Optional, _default: DEFAULTS_OPTS.STRINGIFY.SPACE }
{ space: Args.INT | Args.Optional, _default: DEFAULTS_OPTS.STRINGIFY.SPACE }
], params)
}

Expand Down

0 comments on commit f6163ea

Please sign in to comment.