Fix errors found by linter

This commit is contained in:
freearhey
2023-09-22 06:22:47 +03:00
parent d2318c80d3
commit 35d2d83026
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()