ts-morph#ModuleKind TypeScript Examples
The following examples show how to use
ts-morph#ModuleKind.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: options.ts From gengen with MIT License | 6 votes |
generatorsOptions: ProjectOptions = {
compilerOptions: {
target: ScriptTarget.ES2018,
module: ModuleKind.CommonJS,
strict: true,
esModuleInterop: true
},
manipulationSettings: {
newLineKind: NewLineKind.CarriageReturnLineFeed,
quoteKind: QuoteKind.Single,
insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: true,
indentationText: IndentationText.FourSpaces
}
}