The type takes 2 generics, the param list object we defined earlier, and the name of the current route. This allows us to type check route names and params ...
確定! 回上一頁