iptv-database/scripts/core/issue.ts

20 lines
316 B
TypeScript
Raw Normal View History

2023-10-16 07:45:12 -04:00
import { IssueData } from './'
2023-10-06 22:14:21 -04:00
type IssueProps = {
number: number
labels: string[]
2023-10-16 07:45:12 -04:00
data: IssueData
2023-10-06 22:14:21 -04:00
}
export class Issue {
number: number
labels: string[]
2023-10-16 07:45:12 -04:00
data: IssueData
2023-10-06 22:14:21 -04:00
constructor({ number, labels, data }: IssueProps) {
this.number = number
this.labels = labels
this.data = data
}
}