Auto-launches generation based on command line arguments
generation arguments (same as CLI)
enables logging when true, null allows application to decide
makes generation throw errors when true
Stores whether module was successfully launched
Stores whether TMP directory location was passed
Launches generation of typings
Adds alias for main NPM package file to generated .d.ts source
generated .d.ts declaration source so far
Removes TMP directory
Combines typings into a single declaration source
Generates module name based on file path
path to be converted to module name
disables addition of module name as prefix for module name
Executes generation of single declaration file
Generates per-file typings using TSC
Gathers current value of a particular CLI argument
argument name
Gathers a list of created per-file declaration files
directory to be scanned for files (called during recursion)
discovered array of files (called during recursion)
Gathers entry file address (relative to project root path)
Gathers output path to be used (relative to root)
Loads package.json information of target project
Gathers target project root path
Gathers TMP directory to be used for TSC operations
Loads generated per-file declaration files
Creates TMP directory to be used for TSC operations
amount of times to retry on failure
Verifies if module specified exists among known modules
name of module to be checked
Re-creates empty TMP directory to be used for TSC operations
Alters import sources to avoid relative addresses and default index usage
import source to be resolved
name of module containing import
Dynamically overrides value of stored argument
argument name
argument value
Logs serialized error if it exists
error to be shown
Stores generated .d.ts declaration source into file
generated .d.ts source
Checks if script is forced to attempt generation despite errors
Checks if script is forced to use its built-in TSC
Generated using TypeDoc
Logic for generating aggregated typings for NPM module