Checks if the file exists. (Hopefully)
The name of the file
Given a path to whether a file or a directory, this finds all the .ts files. If the path is a directory, it will return all .ts files in that directory. If recursive is true, it will search the directory recursively. Accepts wildcards.
Path to a file or directory.
If this should work recursively.
Reads the file from a given path.
The path to read from.
Read the files from the disk. Also used in the constructor.
Path for the file to read in
Writes the new content into the path.
Path of the file
The new content
If given, the new entry point path
Constructor. This takes a ts config to search for it's target and some file paths to read them in and construct Imports from.
The path for the ts config
One or many file paths for the .ts files
The imported files in their read in form.
The typescript config.
Generated using TypeDoc
Class holding all the imports from the given paths.