// @declaration: true // Repro from #22644 const fn1 = (options: { headers?: {} }) => { }; fn1({ headers: { foo: 1 } }); const fn2 = ({ headers = {} }) => { }; fn2({ headers: { foo: 1 } });