Skip to content

Commit

Permalink
types: remove generic param that's causing issues for typegoose
Browse files Browse the repository at this point in the history
Fix #13482
  • Loading branch information
vkarpov15 committed Jun 9, 2023
1 parent 19896c7 commit ee6de4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ declare module 'mongoose' {
shift(): T;

/** Returns a native js Array. */
toObject(options?: ToObjectOptions<T>): any;
toObject(options?: ToObjectOptions): any;
toObject<T>(options?: ToObjectOptions<T>): T;

/** Wraps [`Array#unshift`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift) with proper change tracking. */
Expand Down

0 comments on commit ee6de4a

Please sign in to comment.