diff --git a/src/scripts/utils.ts b/src/scripts/utils.ts index e4a79de..9a5b038 100644 --- a/src/scripts/utils.ts +++ b/src/scripts/utils.ts @@ -87,3 +87,8 @@ export class KeyHandler extends Vue } } } + +export function capitalize(s: string): string +{ + return s.charAt(0).toUpperCase() + s.slice(1); +}