Skip to content

Commit

Permalink
fix(types): rename parameter in entrypoints:paths hook for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyantrips committed Dec 19, 2024
1 parent 6d67aa1 commit 9ecbc45
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/wxt/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1191,12 +1191,9 @@ export interface WxtHooks {
/**
* Called once the names and paths of all entrypoints have been resolved.
* @param wxt
* @param entrypointInfos
* @param infos
*/
'entrypoints:paths': (
wxt: Wxt,
entrypointInfos: EntrypointInfo[],
) => HookResult;
'entrypoints:paths': (wxt: Wxt, infos: EntrypointInfo[]) => HookResult;
/**
* Called once all entrypoints have been loaded from the `entrypointsDir`.
* Use `wxt.builder.importEntrypoint` to load entrypoint options from the
Expand Down

0 comments on commit 9ecbc45

Please sign in to comment.