Skip to content

Conversation

@FabienDehopre
Copy link

optimize the declaration of both querySelector and querySelectorAll to always return the correct HTML element type based on the provided CSS query.

inspired from the Twitter/X post from Mike Ryan

@mattpocock
Copy link
Owner

This is cool, but feels outside of the scope of ts-reset. It could be its own awesome library - but I don't really want the burden of maintaining super-complex template literal types for a marginal gain.

@mattpocock mattpocock closed this Mar 13, 2025
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