In this answer it says that we should be able to do something like this:
<mat-slide-toggle [formControlName]="toggleControl">Slide</mat-slide-toggle>
However I'm trying that out in this Stackblitz and it generates the error:
Error in src/app/app.component.html (1:19) Type 'FormControl' is not assignable to type 'string | number'. Type 'FormControl' is not assignable to type 'number'.