Skip to content

Commit

Permalink
Merge pull request #13494 from Automattic/vkarpov15/gh-13482
Browse files Browse the repository at this point in the history
types: remove generic param that's causing issues for typegoose
  • Loading branch information
vkarpov15 committed Jun 9, 2023
2 parents efe16d2 + ee6de4a commit bd7fadb
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 bd7fadb

Please sign in to comment.