Ran formatter, removed unused array and updated APIModel.ts

This commit is contained in:
ltctceplrm 2024-03-16 14:18:14 +01:00
parent f52060482a
commit 5eec98d127
8 changed files with 44 additions and 45 deletions

View file

@ -207,7 +207,7 @@ export function unCamelCase(str: string): string {
// space before last upper in a sequence followed by lower
.replace(/\b([A-Z]+)([A-Z])([a-z])/, '$1 $2$3')
// uppercase the first character
.replace(/^./, function (str) {
.replace(/^./, function(str) {
return str.toUpperCase();
})
);