Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a String Union Type of all HTML Element names? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
6 replies
Kyle | Duck
Is there a String Union Type of all HTML Element names?
Pretty much what the title says
. I want to be able to pass in any name of an html element
, to then apply a style to
, and return to the user
.
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
A Complex Union Type
TTC
Theo's Typesafe Cult / questions
3y ago
TypeScript error: Type 'string' is not assignable to union value
TTC
Theo's Typesafe Cult / questions
3y ago
HTML Input Element is missing types
TTC
Theo's Typesafe Cult / questions
3y ago
Inferred Type Parameter from a Fixed Union is Different from a Parameter that is a Fixed Union
TTC
Theo's Typesafe Cult / questions
3y ago