Globals like window, typeof, enums, or static methods are not available within a template. Only members of the component class and typescript language constructs are available.
You can add a helper method to your component like
isNumber(val): boolean { return typeof val === 'number'; }
and use it like
<label class="number" *ngIf="isNumber(obj[key])">