From 181b9cf375063012764b1676fc61d443263daf53 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Mon, 8 Apr 2024 22:23:20 -0400 Subject: [PATCH] Test the types for all the controllers and bootstrapping. --- app/src/api/user-controller.ts | 2 +- app/src/server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/api/user-controller.ts b/app/src/api/user-controller.ts index 88feb16..2feeb3d 100644 --- a/app/src/api/user-controller.ts +++ b/app/src/api/user-controller.ts @@ -3,9 +3,9 @@ import type { Request, Response } from "express"; +import type { Pool } from 'mariadb'; import type { Controller } from '@slovo/api/controller'; import { UserRepository } from '@slovo/domain/repository/user-repository'; -import type { Pool } from 'mariadb'; export class UserController implements Controller { private userRepository: UserRepository; diff --git a/app/src/server.ts b/app/src/server.ts index a051841..09d7a60 100644 --- a/app/src/server.ts +++ b/app/src/server.ts @@ -3,7 +3,7 @@ import express, { type Request, type Response } from "express"; -import { connectionPool } from '@slovo/infrastructure/connection-pool'; +import connectionPool from '@slovo/infrastructure/connection-pool'; const server: Express = express();