Skip to content

Commit cce2082

Browse files
mizozobuljharb
authored andcommitted
[meta] fix README.md (#399)
- `defaultEncoder`=> `defaultDecoder`
1 parent c44f0c5 commit cce2082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str, defaultE
345345
The type argument is also provided to the decoder:
346346

347347
```javascript
348-
var decoded = qs.parse('x=z', { decoder: function (str, defaultEncoder, charset, type) {
348+
var decoded = qs.parse('x=z', { decoder: function (str, defaultDecoder, charset, type) {
349349
if (type === 'key') {
350350
return // Decoded key
351351
} else if (type === 'value') {

0 commit comments

Comments
 (0)