Skip to content

Commit

Permalink
fix: change returned type in CrudService.create (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Novtin authored Feb 18, 2025
1 parent e6ee51b commit a6b58b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usecases/services/CrudService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class CrudService<
dto: Partial<TModel>,
context?: ContextDto | null,
schemaClass?: IType<TSchema>,
): Promise<IType<TSchema>>
): Promise<TSchema>

/**
* Create new model
Expand Down

0 comments on commit a6b58b5

Please sign in to comment.