refactor: automatic eslint fix

This commit is contained in:
Samuel Bartík
2022-09-07 15:45:08 +02:00
parent 9518cb3635
commit 323086db09
4 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import axios, { AxiosInstance } from 'axios';
import logger from '../logger';
import type { AxiosInstance } from 'axios';
import axios from 'axios';
import logger from 'server/logger';
export interface JellyfinUserResponse {
Name: string;
@@ -16,7 +17,7 @@ export interface JellyfinLoginResponse {
}
export interface JellyfinUserListResponse {
users: Array<JellyfinUserResponse>;
users: JellyfinUserResponse[];
}
export interface JellyfinLibrary {

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm';
import type { MigrationInterface, QueryRunner } from 'typeorm';
export class AddJellyfinUserParams1613379909641 implements MigrationInterface {
name = 'AddJellyfinUserParams1613379909641';

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm';
import type { MigrationInterface, QueryRunner } from 'typeorm';
export class ServerTypeEnum1613412948344 implements MigrationInterface {
name = 'ServerTypeEnum1613412948344';

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm';
import type { MigrationInterface, QueryRunner } from 'typeorm';
export class AddJellyfinDeviceId1613670041760 implements MigrationInterface {
name = 'AddJellyfinDeviceId1613670041760';