Update scripts

This commit is contained in:
freearhey committed 2023-09-15 18:40:35 +03:00
1 parent 1decbe7ac0
commit 94f473f7ca
98 files changed
+2423 -1499

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
type CountryProps = {
code: string
name: string
languages: string[]
flag: string
}
export class Country {
code: string
name: string
languages: string[]
flag: string
constructor({ code, name, languages, flag }: CountryProps) {
this.code = code
this.name = name
this.languages = languages
this.flag = flag
}
}