Skip to content

Commit

Permalink
Update tools/cds-typer.md
Browse files Browse the repository at this point in the history
Co-authored-by: René Jeglinsky <[email protected]>
  • Loading branch information
daogrady and renejeglinsky authored Sep 16, 2024
1 parent aac7910 commit 4e92e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cds-typer.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ npx @cap-js/cds-typer "*" --outputDirectory @cds-models
Make sure to add the quotes around the asterisk so your shell environment does not expand the pattern.

## Integrate Into Your Multitarget Application
Having `cds-typer` present as dependency provides a build task "`typescript`" which is automatically included as part of `cds build` if your project has a dependency on `typescript`.
Having `cds-typer` present as dependency provides a build task "`typescript`". If your project also depends on `typescript,` this build tasks is automatically included when you run `cds build`.
This build task will make some basic assumptions about the layout of your project. For example, it expects all source files to be contained within the root directory. If you find that the standard behavior does not match your project setup, you can customize this build step by providing a `tsconfig.cdsbuild.json` in the root directory of your project. We recommend the following basic setup for such a file:

::: code-group
Expand Down

0 comments on commit 4e92e05

Please sign in to comment.