Skip to content

Commit

Permalink
Pullrequest (#354)
Browse files Browse the repository at this point in the history
* fix types declaration

* lint

---------

Co-authored-by: Luiz Carlos <[email protected]>
  • Loading branch information
julianhille and luicfrr authored Nov 29, 2023
1 parent 5507c2e commit 70088a5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 3 deletions.
14 changes: 11 additions & 3 deletions muhammara.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1040,9 +1040,17 @@ declare module "muhammara" {
}

export class Recipe {
constructor(src: string, output?: string, options?: Recipe.RecipeOptions);

constructor(buffer: Buffer, options?: Recipe.RecipeOptions);
constructor(
src: string,
output?: string | null,
options?: Recipe.RecipeOptions
);

constructor(
buffer: Buffer,
output?: string | null,
options?: Recipe.RecipeOptions
);

comment(
text: string,
Expand Down
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 70088a5

Please sign in to comment.