Skip to content

Commit ca70432

Browse files
committed
clarify outputSourceFiles option
1 parent 45fb3ce commit ca70432

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fern/products/sdks/overview/typescript/configuration.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,11 @@ No serialization/deserialization code is generated by default. The client uses `
338338
</ParamField>
339339

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

343-
<Note>This only applies when dumping code locally. This configuration is ignored when publishing to Github or npm.</Note>
345+
<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>
344346
</ParamField>
345347

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

0 commit comments

Comments
 (0)