You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(compiler-cli): finalize transform support for signal input transforms (angular#53521)
Signal inputs do not need coercion members for their transforms. That is because the `InputSignal` type- which is accessible in the class member- already holds the type of potential "write values". This eliminates the need for coercion members which were simply used to somehow capture this write type (especially when libraries are consumed and only `.d.ts` is available). We can simplify this, and also significantlky loosen restrictions of transform functions- given that we can fully rely on TypeScript for inferring the type. There is no requirement in being able to "transplant" the type into different places- hence also allowing supporting transform functions with generics, or overloads. In a follow-up commit, once more parts are place, there will be some compliance tests to ensure these new "loosend restrictions". PR Closeangular#53521
0 commit comments