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
Consider this type: { apiKey: string | null } & Config
I think it's better for readability if named (aliased) types (Config) are followed by anonymous types ({ apiKey: string | null }). Also, it feels more explicit in intention.
What rule do you want to change?
sort-intersection-types
Describe the problem
Consider this type:
{ apiKey: string | null } & Config
I think it's better for readability if named (aliased) types (
Config
) are followed by anonymous types ({ apiKey: string | null }
). Also, it feels more explicit in intention.Code example
Additional comments
No response
Validations
The text was updated successfully, but these errors were encountered: