From 16bd909432ec08f4e972f2ef25ef0cd15aadc76c Mon Sep 17 00:00:00 2001 From: Jaemin Choi <1dotolee@gmail.com> Date: Wed, 21 Feb 2024 02:52:28 +0900 Subject: [PATCH] fix(be): do not use type import for constructors (#1447) * fix: use longer timeout value * fix: invalid caddy timeout option * fix: do not use type import for DI * chore: fix lint warning --- backend/apps/admin/src/admin.module.ts | 2 +- backend/apps/client/src/app.module.ts | 2 +- frontend-client/components/DataTableLangFilter.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/apps/admin/src/admin.module.ts b/backend/apps/admin/src/admin.module.ts index 0b8862f141..809bebe143 100644 --- a/backend/apps/admin/src/admin.module.ts +++ b/backend/apps/admin/src/admin.module.ts @@ -2,7 +2,7 @@ import { ApolloDriver, type ApolloDriverConfig } from '@nestjs/apollo' import { CacheModule } from '@nestjs/cache-manager' import { Module, type OnApplicationBootstrap } from '@nestjs/common' import { ConfigModule } from '@nestjs/config' -import { APP_GUARD, type HttpAdapterHost } from '@nestjs/core' +import { APP_GUARD, HttpAdapterHost } from '@nestjs/core' import { GraphQLModule } from '@nestjs/graphql' import type { Server } from 'http' import { LoggerModule } from 'nestjs-pino' diff --git a/backend/apps/client/src/app.module.ts b/backend/apps/client/src/app.module.ts index b776b83f03..202b109a4e 100644 --- a/backend/apps/client/src/app.module.ts +++ b/backend/apps/client/src/app.module.ts @@ -2,7 +2,7 @@ import { MailerModule } from '@nestjs-modules/mailer' import { CacheModule } from '@nestjs/cache-manager' import { Module, type OnApplicationBootstrap } from '@nestjs/common' import { ConfigModule } from '@nestjs/config' -import { APP_GUARD, type HttpAdapterHost } from '@nestjs/core' +import { APP_GUARD, HttpAdapterHost } from '@nestjs/core' import type { Server } from 'http' import { LoggerModule } from 'nestjs-pino' import { JwtAuthModule, JwtAuthGuard } from '@libs/auth' diff --git a/frontend-client/components/DataTableLangFilter.tsx b/frontend-client/components/DataTableLangFilter.tsx index 6ee6d07b5e..f594c4ff29 100644 --- a/frontend-client/components/DataTableLangFilter.tsx +++ b/frontend-client/components/DataTableLangFilter.tsx @@ -14,7 +14,7 @@ import { } from '@/components/ui/popover' import { Separator } from '@/components/ui/separator' import { PlusCircledIcon } from '@radix-ui/react-icons' -import { Column } from '@tanstack/react-table' +import type { Column } from '@tanstack/react-table' interface DataTableLangFilterProps { column?: Column