Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions fern/products/sdks/overview/typescript/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,11 @@ No serialization/deserialization code is generated by default. The client uses `
</ParamField>

<ParamField path="outputSourceFiles" type="boolean" default="true" toc={true}>
When enabled, the generator outputs raw TypeScript files. When disabled (the default), outputs `.js` and `d.ts` files.
Controls the output format of generated files:
- **When `true` (default)**: Outputs raw TypeScript `.ts` files
- **When `false`**: Runs TypeScript compiler and outputs compiled `.js` files with `.d.ts` declaration files

<Note>This only applies when dumping code locally. This configuration is ignored when publishing to Github or npm.</Note>
<Note>This option only applies when using local file system output. This setting is ignored when publishing to GitHub or npm, where files are always compiled.</Note>
</ParamField>

<ParamField path="packageJson" type="object" toc={true}>
Expand Down