Exercise #128: Document.queryselector Example
TypeScript Generics ยท 05-function-overloads
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Use the generic type argument on `querySelector` to get a specific element type.
Check Solution
Run "Check Solution" to validate your code in the browser.