mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c59c390cdc
Destructuring of the form:
function foo({a, b}: {a?, b?} = {})
breaks strictNullChecks, due to the TypeScript bug https://github.com/microsoft/typescript/issues/10078.
This change eliminates usage of destructuring in function argument lists in cases where it would leak
into the public API .d.ts.