Fix errors found by linter

This commit is contained in:
freearhey 2023-09-22 06:22:47 +03:00
parent efcae8e3b5
commit 21efb82055
24 changed files with 632 additions and 629 deletions

View file

@ -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()