I recently installed a plugin that comes with type definitions.
declare module 'autobind-decorator' {
const autobind: ClassDecorator & MethodDecorator;
export default autobind;
}
However, I realized that the type definition was incorrect. I need to make a change to this:
declare module 'autobind-decorator' {
const autobind: ClassDecorator & MethodDecorator;
export = autobind;
}
Can someone guide me on how to do this?