style - return is implicit if you put a single statement without brackets, so i would prefer:
```widthFunction = (d: any, i: number) => this.xSCale.rangeBand();```