You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7c83d25
Browse filesBrowse the repository at this point in the historyBrowse files
* @param {Schema | (() => Schema)} schema schema, or a function returning it so a valid value never reads it
1721
1722
* @param {T} value value
1722
1723
* @param {(ValidationErrorConfiguration | PrecompiledCheck<T>)=} options name and data path of the errors, read from a schema titled `"<name> <baseDataPath>"` when not given; the check can take its place
* extra rest array) on every call — `ModuleGraph#cached` runs this on hot
145
146
* paths where most calls hit the cache and the closure would be pure waste.
146
147
* @template This
147
-
* @param {(thisArg: This, ...args: K) => V} compute computer, also the first key element
148
+
* @template {K} A
149
+
* @param {(thisArg: This, ...args: [A][A extends A ? 0 : never]) => V} compute computer, also the first key element; `A` is read from `args`, not from it
148
150
* @param {This} thisArg first argument passed to `compute`
149
-
* @param {K} args remaining key elements, also passed to `compute`
151
+
* @param {A} args remaining key elements, also passed to `compute`
0 commit comments