chore: merge branch dev
to main
#194
1 changed files with 4 additions and 0 deletions
|
@ -12,5 +12,9 @@ declare global {
|
|||
|
||||
/** Capitalize definition */
|
||||
String.prototype.capitalize = function (this: string) {
|
||||
if (this.length === 0) {
|
||||
return this;
|
||||
}
|
||||
|
||||
return this[0].toUpperCase() + this.substring(1);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue