Skip to content

Commit

Permalink
fix(be): remove type import to use event-emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehyeon1020 committed Jan 12, 2025
1 parent efb9c51 commit 2c2106a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CACHE_MANAGER } from '@nestjs/cache-manager'
import { Inject, Injectable, Logger, type OnModuleInit } from '@nestjs/common'
import type { EventEmitter2 } from '@nestjs/event-emitter'
import { EventEmitter2 } from '@nestjs/event-emitter'
import { Nack, AmqpConnection } from '@golevelup/nestjs-rabbitmq'
import {
ResultStatus,
Expand All @@ -27,6 +27,7 @@ import {
Status,
submissionTestcaseEvent,
TEST_SUBMISSION_EXPIRE_TIME,
testTestcaseEvent,
USER_TESTCASE_MESSAGE_TYPE
} from '@libs/constants'
import { UnprocessableDataException } from '@libs/exception'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import {
Sse,
ParseIntPipe
} from '@nestjs/common'
import type { EventEmitter2 } from '@nestjs/event-emitter'
import { EventEmitter2 } from '@nestjs/event-emitter'
import { Observable } from 'rxjs'
import { AuthNotNeededIfOpenSpace, AuthenticatedRequest } from '@libs/auth'
import { submissionTestcaseEvent } from '@libs/constants'
import { submissionTestcaseEvent, testTestcaseEvent } from '@libs/constants'
import {
CursorValidationPipe,
GroupIDPipe,
Expand Down

0 comments on commit 2c2106a

Please sign in to comment.