TypeScript 3.0 included some new features around handling parameter lists. With these changes, we can cleanup both the API and overloads related to our RouteCreator type.
This is a MAJOR breaking change, as we now accept spread arguments instead of a tuple/array:
const route = route(['view', 'details', param('id')])
becomes
const route = route('view', 'details', param('id'))
TypeScript 3.0 included some new features around handling parameter lists. With these changes, we can cleanup both the API and overloads related to our
RouteCreator
type.This is a MAJOR breaking change, as we now accept spread arguments instead of a tuple/array:
const route = route(['view', 'details', param('id')])
becomesconst route = route('view', 'details', param('id'))