In src/lib/es2015.proxy.d.ts methods that have a property key parameter expect type string | symbol rather than PropertyKey. Such as get?(target: T, p: string | symbol, receiver: any): any;.
The corresponding methods in src/lib/es2015.reflect.d.ts, however, have property key parameters that have type PropertyKey.
Is there a reason why number is restricted in proxy handlers but not in reflect?
In Typescript 3, the property key parameter had type PropertyKey in ProxyHandler. It was in Typescript 4+ that it was changed to string | symbol