Skip to content

Commit b08d088

Browse files
committed
Make FES internals private
1 parent a67cd62 commit b08d088

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/core/friendly_errors/param_validator.js

+2
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ function validateParams(p5, fn, lifecycles) {
284284
* arguments, in the case of an initial validation error. We will then use the
285285
* closest schema to generate a friendly error message.
286286
*
287+
* @private
287288
* @param {z.ZodSchema} schema - Zod schema.
288289
* @param {Array} args - User input arguments.
289290
* @returns {z.ZodSchema} Closest schema matching the input arguments.
@@ -482,6 +483,7 @@ function validateParams(p5, fn, lifecycles) {
482483
* Runs parameter validation by matching the input parameters to Zod schemas
483484
* generated from the parameter data from `docs/parameterData.json`.
484485
*
486+
* @private
485487
* @param {String} func - Name of the function.
486488
* @param {Array} args - User input arguments.
487489
* @returns {Object} The validation result.

src/core/friendly_errors/sketch_verifier.js

-4
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,6 @@ export const verifierUtils = {
218218
}
219219
};
220220

221-
/**
222-
* @for p5
223-
* @requires core
224-
*/
225221
function sketchVerifier(p5, _fn, lifecycles) {
226222
lifecycles.presetup = async function() {
227223
if (!p5.disableFriendlyErrors) {

0 commit comments

Comments
 (0)