You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Protected field with same name in two classes messing up type constraint when narrowing array. #49517
👋 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.
Activity
RyanCavanaugh commentedon Jun 13, 2022
Workaround
Jym77 commentedon Jun 14, 2022
Thanks. Workaround works fine in the real code too 😄
Jym77 commentedon Jun 20, 2022
It seems that the workaround breaks
api-extractor😢andrewbranch commentedon Jul 6, 2022
TypeScript Bot (@typescript-bot) bisect good v4.6.4 bad v4.7.4
typescript-bot commentedon Jul 6, 2022
The change between v4.6.4 and v4.7.4 occurred at 787bb9d.
andrewbranch commentedon Jul 6, 2022
Hey this is the second bisect today that blames #48837 😅
typescript-bot commentedon Jul 7, 2022
👋 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 Jean-Yves Moyen (@Jym77)
❌ Failed: -
Type 'Foo & V[P]' does not satisfy the constraint 'Foo'. Property 'foo' is missing in type 'Foo & V[P]' but required in type 'Foo'.Historical Information
❌ Failed: -
Type 'Foo & V[P]' does not satisfy the constraint 'Foo'. Property 'foo' is missing in type 'Foo & V[P]' but required in type 'Foo'.👍 Compiled