mirror of
https://github.com/iptv-org/iptv
synced 2026-11-04 00:04:36 -05:00
Fix errors found by linter
This commit is contained in:
1 parent
d2318c80d3
commit
35d2d83026
24 files changed
+632
-629
No files matched your search
@@ -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