From b86f5b150e437b31249530ee43b6c785e5ccb988 Mon Sep 17 00:00:00 2001 From: ABCxFF <79597906+ABCxFF@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:08:35 -0400 Subject: [PATCH] fix(lobbies.config): rename imports & avoid collision --- modules/lobbies/config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/lobbies/config.ts b/modules/lobbies/config.ts index 06d0de1c..dea9e63f 100644 --- a/modules/lobbies/config.ts +++ b/modules/lobbies/config.ts @@ -1,8 +1,9 @@ -import { CaptchaProvider } from "../captcha/utils/types.ts"; import { BackendLocalDevelopmentConfig, BackendLocalDevelopmentConfigPort } from "./utils/lobby/backend/local_development.ts"; import { BackendServerConfig } from "./utils/lobby/backend/server.ts"; import { BackendTestConfig } from "./utils/lobby/backend/test.ts"; +import type { CaptchaProvider as ExternalCaptchaProvider } from "../captcha/utils/types.ts"; + export interface Config { lobbies: LobbyConfig; lobbyRules: LobbyRule[]; @@ -15,7 +16,7 @@ export interface Config { captcha?: CaptchaConfig | null; } -export type CaptchaProvider = CaptchaProvider; +export type CaptchaProvider = ExternalCaptchaProvider; export interface CaptchaConfig { provider: CaptchaProvider;