Make timeutil.pad()
protected so it appears in mod types data
This commit is contained in:
parent
43eadcbfa9
commit
4f7715825a
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user