Maps an injectable class with a resolve function to an equivalent ResolveFn for use in a Route definition.
ResolveFn
Route
function mapToResolve<T>( provider: Type<Resolve<T>>): ResolveFn<T>;
ResolveFn<T>
Usage {@example router/utils/functional_guards.ts region='Resolve'}
Type<Resolve<T>>