Skip to content

Commit

Permalink
Fix type of plugins parameter to be an array of functions (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed May 16, 2024
1 parent 4d32d27 commit 88d3ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/size-limit/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type AnyFunction = (...args: any[]) => any
* @return Project size
*/
declare function sizeLimitAPI(
plugins: AnyFunction,
plugins: AnyFunction[],
files: string[] | object
): Promise<object>

Expand Down

0 comments on commit 88d3ce2

Please sign in to comment.