fix(lib/es2015): Fix types of Reflect methods#41987
fix(lib/es2015): Fix types of Reflect methods#41987orta merged 1 commit intomicrosoft:mastermicrosoft/TypeScript:masterfrom ExE-Boss:lib/es2015/fix-reflect-method-typesExE-Boss/TypeScript:lib/es2015/fix-reflect-method-typesCopy head branch name to clipboard
Reflect methods#41987Conversation
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
edb0009 to
75dd434
Compare
|
I compared each function to the MDN docs for the reflect API, and that all seems to look right to me - thanks @ExE-Boss |
|
@ExE-Boss great change, thanks! Looks like |
|
I would like to know what is the return type of |
|
@Luxcium The correct return type of |

Unlike #35608, this only fixes the types so that the return types of
Reflect.ownKeys(…)andReflect.getPrototypeOf(…)are correct.Blocks:
Reflect#35608ProxyHandler#35594Fixes #34626
/cc @Jessidhia @orta @rbuckton @sandersn