Update scripts

This commit is contained in:
freearhey
2025-03-29 11:39:46 +03:00
parent 6d9ee99848
commit cad9cd5321
42 changed files with 1317 additions and 694 deletions

View File

@@ -1,4 +1,4 @@
type LanguageProps = {
type LanguageData = {
code: string
name: string
}
@@ -7,8 +7,8 @@ export class Language {
code: string
name: string
constructor({ code, name }: LanguageProps) {
this.code = code
this.name = name
constructor(data: LanguageData) {
this.code = data.code
this.name = data.name
}
}