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/issue.ts

20 lines
321 B
TypeScript

5 months ago
import { IssueData } from '../core'
2 years ago
type IssueProps = {
number: number
2 years ago
labels: string[]
5 months ago
data: IssueData
2 years ago
}
export class Issue {
number: number
2 years ago
labels: string[]
5 months ago
data: IssueData
2 years ago
2 years ago
constructor({ number, labels, data }: IssueProps) {
2 years ago
this.number = number
2 years ago
this.labels = labels
2 years ago
this.data = data
}
}