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
typescript not finding break in interface when type constructed from conditional type #30198
// A *self-contained* demonstration of the problem follows...// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
I want to give the user the ability to supply their own interface or default to a different structure:
Activity
jack-williams commentedon Mar 3, 2019
Duplicate of #241 / #29390. Excess property checking isn't being performed in the body of the function expression. Smaller repro:
dagda1 commentedon Mar 3, 2019
Jack Williams (@jack-williams) I see they use neverize as one solution.
Is this possible, I tried this but the extra properties are not flagged.
typescript-bot commentedon Mar 7, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.