Open heroboy opened 3 years ago
Hello, we are a group of researchers developing machine learning techniques to locate issues suitable for newcomers, and our model consider this issue as likely a "good first issue". May we recommend you to label it as "good first issue" so newcomers know where to choose?
Thank you!
This is not a good first issue
:wave: Hi, I'm the Repro bot. I can help narrow down and track compiler bugs across releases! This comment reflects the current state of the repro in the issue body running against the nightly TypeScript.
Issue body code block by @heroboy
:x: Failed: -
Object literal may only specify known properties, and 'day' does not exist in type '{ dataType: "a" | "b"; }'.
Object literal may only specify known properties, and 'day' does not exist in type '{ dataType: "a" | "b"; }'.
Version | Reproduction Outputs |
---|---|
4.2.2, 4.3.2, 4.4.2, 4.5.2, 4.6.2 |
:x: Failed: -
|
TypeScript Version: v4.0.5
Search Terms: destructuring assignment , Object literal may only specify known properties
Code
Expected behavior: no compile error Actual behavior:
**Playground Link: link
Related Issues: