Commit ad532b0
committed
fix: extract hideHeaders from destructuring to preserve explicit false
The destructuring default only fires when the property is undefined,
making the options.hideHeaders ?? fallback redundant inside it. Extract
to a separate const with ?? so explicit false from callers is preserved.1 parent f4504ef commit ad532b0
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
0 commit comments