eslint fixes

This commit is contained in:
AnimeDL 2024-04-13 08:20:35 -07:00
parent bc79628f4f
commit a1feba6e6f

View file

@ -13,7 +13,7 @@ export type Params = {
// req
export class Req {
private sessCfg: string;
private service: 'cr'|'funi'|'hd'|'ao'|'adn';
private service: 'cr'|'hd'|'ao'|'adn';
private session: Record<string, {
value: string;
expires: Date;
@ -25,7 +25,7 @@ export class Req {
private cfgDir = yamlCfg.cfgDir;
private curl: boolean|string = false;
constructor(private domain: Record<string, unknown>, private debug: boolean, private nosess = false, private type: 'cr'|'funi'|'hd'|'ao'|'adn') {
constructor(private domain: Record<string, unknown>, private debug: boolean, private nosess = false, private type: 'cr'|'hd'|'ao'|'adn') {
this.sessCfg = yamlCfg.sessCfgFile[type];
this.service = type;
}