chore: merge branch dev to main #194

Merged
Anri merged 5 commits from dev into main 2024-10-08 20:55:16 +02:00
Showing only changes of commit d3251fd50a - Show all commits

View file

@ -12,5 +12,9 @@ declare global {
/** Capitalize definition */ /** Capitalize definition */
String.prototype.capitalize = function (this: string) { String.prototype.capitalize = function (this: string) {
if (this.length === 0) {
return this;
}
return this[0].toUpperCase() + this.substring(1); return this[0].toUpperCase() + this.substring(1);
}; };