From 4a7bec4e57bc9af2ee446aab41863b9c4106e10c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 20 Sep 2022 05:36:51 +0900 Subject: [PATCH] lint --- packages/backend/src/@types/http-signature.d.ts | 2 +- packages/backend/src/@types/koa-json-body.d.ts | 2 +- packages/backend/src/@types/koa-slow.d.ts | 2 +- packages/backend/src/@types/probe-image-size.d.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/@types/http-signature.d.ts b/packages/backend/src/@types/http-signature.d.ts index d1f9cd955..f2f9bfcc3 100644 --- a/packages/backend/src/@types/http-signature.d.ts +++ b/packages/backend/src/@types/http-signature.d.ts @@ -1,5 +1,5 @@ declare module '@peertube/http-signature' { - import { IncomingMessage, ClientRequest } from 'node:http'; + import type { IncomingMessage, ClientRequest } from 'node:http'; interface ISignature { keyId: string; diff --git a/packages/backend/src/@types/koa-json-body.d.ts b/packages/backend/src/@types/koa-json-body.d.ts index 5aa8179c5..2971807d1 100644 --- a/packages/backend/src/@types/koa-json-body.d.ts +++ b/packages/backend/src/@types/koa-json-body.d.ts @@ -1,5 +1,5 @@ declare module 'koa-json-body' { - import { Middleware } from 'koa'; + import type { Middleware } from 'koa'; interface IKoaJsonBodyOptions { strict: boolean; diff --git a/packages/backend/src/@types/koa-slow.d.ts b/packages/backend/src/@types/koa-slow.d.ts index e748e2cc9..d048822ef 100644 --- a/packages/backend/src/@types/koa-slow.d.ts +++ b/packages/backend/src/@types/koa-slow.d.ts @@ -1,5 +1,5 @@ declare module 'koa-slow' { - import { Middleware } from 'koa'; + import type { Middleware } from 'koa'; interface ISlowOptions { url?: RegExp; diff --git a/packages/backend/src/@types/probe-image-size.d.ts b/packages/backend/src/@types/probe-image-size.d.ts index 11bb6c620..416e819ac 100644 --- a/packages/backend/src/@types/probe-image-size.d.ts +++ b/packages/backend/src/@types/probe-image-size.d.ts @@ -1,5 +1,5 @@ declare module 'probe-image-size' { - import { ReadStream } from 'node:fs'; + import type { ReadStream } from 'node:fs'; type ProbeOptions = { retries: 1;