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
332 B
TypeScript

import { Dictionary } from '@freearhey/core'
1 year ago
type IssueProps = {
number: number
1 year ago
labels: string[]
1 year ago
data: Dictionary
}
export class Issue {
number: number
1 year ago
labels: string[]
1 year ago
data: Dictionary
1 year ago
constructor({ number, labels, data }: IssueProps) {
1 year ago
this.number = number
1 year ago
this.labels = labels
1 year ago
this.data = data
}
}