Skip to content

Conversation

shiro-el
Copy link

Replace magic strings with TypeScript union types to improve type safety and eliminate runtime errors. SVG command types ('M', 'L', 'C', etc.) and keyboard/storage constants are now centrally defined with compile-time type checking and IDE autocomplete support.

Let me know if there's anything you'd like me to update or fix.

      Replace 100+ magic strings with TypeScript union types to improve type safety and eliminate runtime errors. SVG command types ('M', 'L', 'C', etc.) and keyboard/storage constants are now centrally defined with compile-time type checking and IDE autocomplete support.
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