| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dc049ac commit 3faed33
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -100,6 +100,7 @@ function defineImportAssertionAlias(context) { | |||
| 100 | 100 | * @typedef {object} KeyedHook | |
| 101 | 101 | * @property {Function} fn The hook function. | |
| 102 | 102 | * @property {URL['href']} url The URL of the module. | |
| 103 | + * @property {KeyedHook?} next The next hook in the chain. | ||
| 103 | 104 | */ | |
| 104 | 105 | ||
| 105 | 106 | // [2] `validate...()`s throw the wrong error | |
@@ -688,7 +689,7 @@ function pluckHooks({ | |||
| 688 | 689 | * A utility function to iterate through a hook chain, track advancement in the | |
| 689 | 690 | * chain, and generate and supply the `next<HookName>` argument to the custom | |
| 690 | 691 | * hook. | |
| 691 | - * @param {Hook} current The (currently) first hook in the chain (this shifts | ||
| 692 | + * @param {KeyedHook} current The (currently) first hook in the chain (this shifts | ||
| 692 | 693 | * on every call). | |
| 693 | 694 | * @param {object} meta Properties that change as the current hook advances | |
| 694 | 695 | * along the chain. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments