Initializes a ts-morph project inside a given Projen project
Projen project
Customization for ts-morph project
ts-morph project
Create a "sample" Typescript file. This file will only be generated once during the initial "projen new" command
a Typescript file if created during project creation, otherwise undefined
Create an in-memory-only Typescript file. It will not be written to the filesystem.
A filename that represent this source ("example.ts").
a Typescript file. Use .print() to get the generated contents
Create a Typescript file.
path to create new typescript file at, relative to project root
Behavior of created file
A new Typescript source
Gets an existing Typescript source file
path to existing typescript file, relative to project root
Typescript source file
Gets an existing Typescript source file (Throws if not found)
path to existing typescript file, relative to project root
Typescript source file
(experimental) Called after synthesis.
Order is not guaranteed.
(experimental) Called before synthesis.
Renders the given source file as a fenced code block for markdown
Typescript source to render
Customize output format
String render of source
Generated using TypeDoc
A component that wraps around ts-morph to be create/modify typescript files