Static
processPerforms postprocessing on a given Typescript declaration file in place. You may provide an alternate output filepath to not overwrite the source file.
Options
Source DTS file to process.
Optional
output?: stringAlternate output filepath for testing.
List of processor functions.
Provides management of execution of creating a
ts-morph
project and coordinating postprocessing ProcessorFunction functions acting on thets-morph
SourceFile. The inputfilepath
should be a bundled Typescript declaration file. Any postprocessing is automatically saved to the same file.