-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(ct): resolve internal type errors #26779
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Same here, sounds like types are still problematic. How do we stabilize it? |
A lot has happened in terms of types because it was messy from the start. I tried to improve things incrementally, which resulted in quite a few PRs in terms of types. In this case the I think there are still some mistakes in the internal types. I can leave them alone as this is probably getting annoying |
My general observation was that we tightened them first and then started relaxing them back and this relaxing process started to get involved. So I was wondering if we should relax them back to |
I see what you mean. I closed the other PR for the time being. There are still some minor mistakes in the internal types and it might be good to relax the This PR should not have consequences for the end user. It's all about the internal types. |
Test results for "tests 1"9 flaky25875 passed, 603 skipped Merge workflow run. |
@@ -19,16 +19,18 @@ type JsonValue = JsonPrimitive | JsonObject | JsonArray; | |||
type JsonArray = JsonValue[]; | |||
export type JsonObject = { [Key in string]?: JsonValue }; | |||
|
|||
// JsxComponentChild can be anything, consider cases like: <>{1}</>, <>{null}</> | |||
export type JsxComponentChild = JsxComponent | string | number | boolean | null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This type is very much public, so there are potential breakages still.
No description provided.