// @strictNullChecks: true // Repros from #10641 const CONFIG = { foo: '', setFoo: function(foo: string) { CONFIG.foo = foo; } }; const helper = function(t: T[]) { helper(t.slice(1)); }