import { environment } from "../config/environment"; import { fastifyManager } from "./fastify/manager"; class Index { public static async main() : Promise { const main = new Index(); await main.start(); }; public async start() : Promise { await fastifyManager.start(); } } const index : Promise = Index.main();