Make timeutil.pad() protected so it appears in mod types data

This commit is contained in:
Dev 2023-11-08 09:06:22 +00:00
parent 43eadcbfa9
commit 4f7715825a

View File

@ -15,7 +15,7 @@ export class TimeUtil
* @param {number} number - The number to pad. * @param {number} number - The number to pad.
* @returns {string} The padded number as a string. * @returns {string} The padded number as a string.
*/ */
private pad(number: number): string protected pad(number: number): string
{ {
return String(number).padStart(2, "0"); return String(number).padStart(2, "0");
} }