Skip to content

Conversation

@Nandann018-ux
Copy link

This pull request improves type safety in the core package by replacing all remaining any usages in normalize-theme.ts with the appropriate RawThemeSetting type from @shikijs/types.
The update removes unnecessary type assertions and ensures stronger static typing, leading to more predictable behavior and fewer runtime errors.

Key changes:

  1. Replaced all any occurrences in normalize-theme.ts with RawThemeSetting.
  2. Cleaned up unused or redundant type assertions.
  3. Updated imports to include RawThemeSetting.

These changes help maintain consistency across the codebase and contribute to safer, more maintainable type definitions.

@vercel
Copy link

vercel bot commented Dec 4, 2025

@Nandann018-ux is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Nandann018-ux
Copy link
Author

Hi, just checking in—this PR fixes some small robustness issues in the editor. Would appreciate a review when you have time.

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.

1 participant