mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 02:47:33 -05:00
Update scripts
This commit is contained in:
14
scripts/models/language.ts
Normal file
14
scripts/models/language.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
type LanguageProps = {
|
||||
code: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export class Language {
|
||||
code: string
|
||||
name: string
|
||||
|
||||
constructor({ code, name }: LanguageProps) {
|
||||
this.code = code
|
||||
this.name = name
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user