Effect CommunityEC
Effect Community2y ago
34 replies
Stephen Bluck

TypeScript Merge Layers Error and Unmerged Service Issue

I am getting some odd TS inference when merging layers. This is the error
ype 'Passwords' is not assignable to type 'CookieSessionStorage'.
        Types of property 'Id' are incompatible.
          Type '"@app/Passwords"' is not assignable to type '"@app/CookieSessionStorage"'.

But the weirdest thing is one of my services just gets "un-merged" for no real reason that I can see. Check out the images to see what I mean. Any ideas? It has just started happening when I created a new service and added it to my main AppLayer.
Screenshot_2024-03-18_at_21.44.00.png
Screenshot_2024-03-18_at_21.44.22.png
Was this page helpful?