mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 10:57:18 -05:00
Fix errors found by linter
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Dictionary } from '@freearhey/core'
|
||||
import { Issue } from '../models'
|
||||
import _ from 'lodash'
|
||||
|
||||
const FIELDS = new Dictionary({
|
||||
'Channel ID': 'channel_id',
|
||||
@@ -21,7 +20,7 @@ const FIELDS = new Dictionary({
|
||||
})
|
||||
|
||||
export class IssueParser {
|
||||
parse(issue: any): Issue {
|
||||
parse(issue: { number: number; body: string; labels: { name: string }[] }): Issue {
|
||||
const fields = issue.body.split('###')
|
||||
|
||||
const data = new Dictionary()
|
||||
|
||||
Reference in New Issue
Block a user