I need to restrict the type of exported function for my module
type Request = ItemGetRequest | ItemUpdateRequest<Property>
type Response = Property | ItemUpdateResponse<Property>
type Handlers = {[key: string]: Handler<Request, Response>}
export { propertyGet, propertyUpdate } as Handlers
However, it appears that the syntax export {...} as Type
is not correct or supported in version 3.4.1. How can I resolve this issue?