source: trip-planner-front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.ts.template

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 416 bytes
Line 
1import { Injectable } from '@angular/core';
2import {
3 Router, Resolve,
4 RouterStateSnapshot,
5 ActivatedRouteSnapshot
6} from '@angular/router';
7import { Observable, of } from 'rxjs';
8
9@Injectable({
10 providedIn: 'root'
11})
12export class <%= classify(name) %>Resolver implements Resolve<boolean> {
13 resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> {
14 return of(true);
15 }
16}
Note: See TracBrowser for help on using the repository browser.