From 6da872abe0d3e7fa4a410c10c21dba8c011db2f3 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Fri, 23 Dec 2022 15:29:44 +0100 Subject: [PATCH] fix(core): Add param inline docs for Part.getId() --- packages/core/src/part.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/part.mjs b/packages/core/src/part.mjs index 16257650cd4..eefd0c94d05 100644 --- a/packages/core/src/part.mjs +++ b/packages/core/src/part.mjs @@ -81,6 +81,7 @@ Part.prototype.attr = function (name, value, overwrite = false) { /** * Gets a free ID to use in the part * + * @param {string} prefix - An optional prefix to apply to the ID * @return {string} id - A free ID to use */ Part.prototype.getId = function (prefix = '') {