← Code LabTypeScript0/50 solved · 0%
Types · medium

30. Template Literal Types

String manipulation at the type level.

Create `EventName` as `on` + capitalized `Event` ('click' | 'scroll').
Required in your answer: `on${Capitalize<Event>}`