Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork17
Commit6b1dd3b
committed
(hotfix): jsonify shouldn't set false to true
- meant to use the previous code as an alternative to using a default arg, but `!jsonify` detects false (etc), not just undefined - switched to just using a default arg, which was what I originally used before moving defaults outside of the destructuring - alternative is to check `typeof jsonify === 'undefined'` instead - default args seem to provide better typings in my experience, so stick to that for now1 parent10d4cd7 commit6b1dd3b
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
0 commit comments
Comments
(0)