We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: 3.4.5
Search Terms: getOwnPropertyDescriptors
Code
Object.getOwnPropertyDescriptors(undefined);
Expected behavior: Undefined is not accepted.
Actual behavior: Undefined is accepted.
Playground Link: https://www.typescriptlang.org/play/index.html#src=Object.getOwnPropertyDescriptors(undefined)%3B
However, can't seem to enable es2017 in the Playground
Related Issues: n/a
TypeScript Version: 3.4.5
Search Terms:
getOwnPropertyDescriptors
Code
Expected behavior:
Undefined is not accepted.
Actual behavior:
Undefined is accepted.
Playground Link:
https://www.typescriptlang.org/play/index.html#src=Object.getOwnPropertyDescriptors(undefined)%3B
However, can't seem to enable es2017 in the Playground
Related Issues:
n/a