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
When using TypeScript, TS complains that Layer requires an id property, even though an auto-generated one is created for us here. I've provided a codesandbox with the issue
Uh oh!
There was an error while loading. Please reload this page.
Description
When using TypeScript, TS complains that
Layer
requires anid
property, even though an auto-generated one is created for us here. I've provided a codesandbox with the issueExpected Behavior
Typescript doesn't complain about a missing
id
I believe that to Omit the
id
from unions, we need to use something like this microsoft/TypeScript#39556 (comment)Steps to Reproduce
https://codesandbox.io/s/smoosh-microservice-pdf9f8?file=/src/App.tsx
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: