Proposed Solutions
- Smart $any parsing (parse
obj.prop chains)
- CLI flag:
--ignore-different-any-streams
- Config:
ignorePatterns: ['$any.*.differentProp$']
Minimal Repro
// tsconfig.json
{ "angularCompilerOptions": { "strictTemplates": true } }
@Input() vm!: { stateA$: Observable<string>; stateB$: Observable<string> };
@let a = $any(vm.stateA$) | async; // letify: ❌ duplicate!
@let b = $any(vm.stateB$) | async;
Question: Can we get property-aware $any() tracking? Affects 100+ components.
PRs welcome! 🙏
Proposed Solutions
obj.propchains)--ignore-different-any-streamsignorePatterns: ['$any.*.differentProp$']Minimal Repro
Question: Can we get property-aware $any() tracking? Affects 100+ components.
PRs welcome! 🙏