Was this adjustment done as a result of linting or some other reason? This change is fine but in general I think we don't have any strong opinion as a framework guideline on whether typeof should be considered as an operator or a function, so I don't think we would adopt this as part of our linting requirements for framework files (afaik either form is fine here)