We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af6b031 commit d4e40b3Copy full SHA for d4e40b3
projects/fusio-sdk/src/lib/service/user.service.ts
@@ -1,15 +1,14 @@
1
import {Injectable} from '@angular/core';
2
import {FactoryService} from "./factory.service";
3
-import {ClientAbstract} from "sdkgen-client";
4
5
@Injectable({
6
providedIn: 'root'
7
})
8
-export class UserService<T extends ClientAbstract> {
+export class UserService<T> {
9
10
private user?: T;
11
12
- constructor(private factory: FactoryService<T>) { }
+ constructor(private factory: FactoryService<any>) { }
13
14
public login(user: T): void {
15
this.user = user;
0 commit comments