You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add hasFeature function and disallow features.has (#4506)
The problem with `features.has` is that it takes
a string isntead of a `GPUFeatureName`. To prevent
typos when checking for features, add a lint warning
for `features.has(feature)` and suggest using
`hasFeature(features, feature)`. `hasFeature`
takes a `GPUFeatureName` and so will warn if the
string pass is not a valid feature.
0 commit comments