Test the types for all the controllers and bootstrapping.
This commit is contained in:
parent
818151b0b0
commit
181b9cf375
@ -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;
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user