example for Mosaic library from checkbox and related (input, textarea etc)
private uniqueId: string = `mc-checkbox-${++nextUniqueId}`;
@Input() id: string = this.uniqueId;
// ...some inputs bellow`
In that case we must put id under uniqueId due to else we'd get ts error "assess to not initialised variable".
I believe it is useful rule but some edge cases should be considered.
It'd be ideal to somehow analyse using field in cases like these.
example for Mosaic library from checkbox and related (input, textarea etc)
In that case we must put id under uniqueId due to else we'd get ts error "assess to not initialised variable".
I believe it is useful rule but some edge cases should be considered.
It'd be ideal to somehow analyse using field in cases like these.