Skip to content
Typeplugin-i18nv0.1.0

FirstName

type FirstName<Route extends string> =
    Route extends `${infer Name}/${string}` ? Name : Route;