TypeOfTypes

TypeOfTypes

This class takes care of fixing JSDoc comments that use typeof T as a type and replace it with Class.<T>.

Constructor

new TypeOfTypes(events, EVENT_NAMES)

Source:
Parameters:
Name Type Description
events EventEmitter

To hook to the necessary events to parse the code.

EVENT_NAMES EventNames

To get the name of the events the class needs to listen for.