Skip to content

Commit

Permalink
Add any as default tpe parameter (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Dec 6, 2019
1 parent 85cdcd0 commit 33504ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface ObjectionServiceOptions extends ServiceOptions {
upsertGraphOptions: any;
}

export class Service<T> extends AdapterService<T> implements InternalServiceMethods<T> {
export class Service<T = any> extends AdapterService<T> implements InternalServiceMethods<T> {
Model: typeof Model;
options: ObjectionServiceOptions;

Expand Down

0 comments on commit 33504ee

Please sign in to comment.