Chore:
Moved to Angular 16 Moved to FastAPI 0.100.0 Moved to pydantic 2.0
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Resolve } from '@angular/router';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
import { Customer } from '../core/customer';
|
||||
@ -9,7 +8,7 @@ import { CustomerService } from './customer.service';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CustomerListResolver implements Resolve<Customer[]> {
|
||||
export class CustomerListResolver {
|
||||
constructor(private ser: CustomerService) {}
|
||||
|
||||
resolve(): Observable<Customer[]> {
|
||||
|
||||
Reference in New Issue
Block a user