TypedefImports

TypedefImports

This class takes care of removing blocks of JSDoc comments that use typedef statements with import(...).

Constructor

new TypedefImports(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.