Skip to content

Commit

Permalink
added 'this' to static function
Browse files Browse the repository at this point in the history
  • Loading branch information
dovrosenberg committed Dec 10, 2024
1 parent 3d4e023 commit 95cdae9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ declare global {
* default `{}`
*/
static createCompendium<T extends CompendiumCollection.Metadata>(
metadata: CompendiumCollection.CreateCompendiumMetadata<T>,
this: abstract new (arg0: never, ...args: never[]) => CompendiumCollection<T>,
metadata: CompendiumCollection.CreateCompendiumMetadata<NoInfer<T>>,
options?: Document.OnCreateOptions<T["type"]>,
): Promise<CompendiumCollection<T>>;

Expand Down

0 comments on commit 95cdae9

Please sign in to comment.