Skip to content

Commit

Permalink
fix: set KeycloakGroupRepresentation as default type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Jun 24, 2022
1 parent 6fb1b0b commit ddd07dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/service/GroupService/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import GenericService, { GenericServiceOpts } from '../GenericService';

import Group, { ProviderGroupDetails } from '../../model/Group';
import Group, { ProviderGroupDetails, KeycloakGroupRepresentation } from '../../model/Group';

export class GroupService<T extends Group<S>, S extends ProviderGroupDetails> extends GenericService<T> {
export class GroupService<T extends Group<S>,
S extends ProviderGroupDetails = KeycloakGroupRepresentation> extends GenericService<T> {

constructor(opts: GenericServiceOpts = {
basePath: '/groups'
Expand Down

0 comments on commit ddd07dd

Please sign in to comment.