-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object circular assignment never error #58925
Comments
You are trying to copy, key-by-key, from this type: {
disabled?: boolean;
placement?: string;
isDark?: boolean;
} ...to this type... {
disabled: boolean;
placement: string;
isDark: boolean;
} That would mean copying values that might be This is simply a case of typescript doing its job and telling you you've made a mistake. |
ok, I know, thank you |
Acknowledgement
Comment
https://www.typescriptlang.org/play/?ts=5.0.4#code/JYOwLgpgTgZghgYwgAgMoBtgBNoBUD2+6YwADgApT6kDOyA3gLABQyyWwNcARuhFgH4AXMm6E+cEAG4WbUukQQAthHDDkNMFFABzGa2ScAInCgBrdWKIRJ+gL4sWCfCE3Iw4khSq0RGbHieZJTUdAC8DLLsnDx8WCLw6DQQLA7MTi5uWHBgcEIAShAAjgCuwFD8ADz+OFAERF4htAB8yBFMBhxcvPwJcEkQADRR8ooq4CIARB6kk8MGxqZmfQPzaSww+FDIABTOrmDIZhAAnoYg7kHeoQCUkQb7bgD6x2cRr8hwdK-4MGiYtXqxGCPho+ii2VyAG0XqcALptS4NEGhGGvOFRR7WAB06HwOh2sJON1SjmYQA
The text was updated successfully, but these errors were encountered: