PR #45096 put the backported code in the wrong case, it should be for `type` and not for `hint`. Also synced `hint` enum values with `Object.PropertyHint`. Fixes #48698.