1. 싱글톤 객체 선언 2. 싱글톤 객체 생성 3. 싱글톤 객체 불러오기 및 사용 먼저 클래스를 생성한다. // src/Singleton.ts export type redisType = ReturnType // 싱글톤 객체 선언 export class Singleton { User: UserModel; constructor(connection: ConnectionPool, redisClient: redisType) { this.User = new UserModel(connection, redisClient); } } let modelManager: ModelManager; // 싱글톤 객체 생성 export const initModel = (connection: ConnectionPool, redisCl..