iptv-database/scripts/models/issue.ts

20 lines
332 B
TypeScript
Raw Normal View History

2023-10-06 22:14:21 -04:00
import { Dictionary } from '@freearhey/core'
type IssueProps = {
number: number
labels: string[]
data: Dictionary
}
export class Issue {
number: number
labels: string[]
data: Dictionary
constructor({ number, labels, data }: IssueProps) {
this.number = number
this.labels = labels
this.data = data
}
}