You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iptv/scripts/models/subdivision.ts

18 lines
287 B
TypeScript

type SubdivisionProps = {
code: string
name: string
country: string
}
export class Subdivision {
code: string
name: string
country: string
constructor({ code, name, country }: SubdivisionProps) {
this.code = code
this.name = name
this.country = country
}
}