Skip to content

Remove nested media types#8

Merged
Pearce-Ropion merged 1 commit into
mainfrom
pearce/rm-nested-media-types
Mar 9, 2026
Merged

Remove nested media types#8
Pearce-Ropion merged 1 commit into
mainfrom
pearce/rm-nested-media-types

Conversation

@Pearce-Ropion

Copy link
Copy Markdown

In an effort to reduce type complexity, we are removing the nested Media types from all CSSObjects. This is not a pattern we encourage the use of so don't mind removing the types for it.

Nested media keys will still work, this only removes typeahead by removing the types. This is a safe removal because the types still allow for any Record<string, CSSObject> to be nested.

No functional changes

@Pearce-Ropion Pearce-Ropion merged commit cf592a2 into main Mar 9, 2026
2 checks passed
@Pearce-Ropion Pearce-Ropion deleted the pearce/rm-nested-media-types branch March 9, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants