const Test = (type: Enum, func: any) => { ... } 일 때 Enum 값에 따라 func의 타입이 달라지는 경우가 있다. 물론 작업자가 나 혼자면 any로 써도 큰 문제는 없겠으나 여러사람과 협업할 때는 func의 타입을 부여하는게 훨씬 좋지 않을까? export abstract class Hookable { protected _handlers: Map = new Map(); public connect( type: T, ...options: 여기를 어떻게 해야 할까? ): void { if (!this._handlers.has(type)) { this._handlers.set(type, []); } options.forEach((f: G[T]) => this._handle..