File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
fern/products/sdks/overview/typescript Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -23,27 +23,23 @@ To get started adding custom code:
2323
2424 ### Create a new file and add your custom logic
2525
26- <CodeBlock title = " src/helper.ts" >
27- ``` typescript
26+ ``` typescript title="src/helper.ts"
2827 export function myHelper(): void {
2928 return console .log (" Hello world!" );
3029 }
3130 ```
32- </CodeBlock >
3331
3432 ### Add your file to ` .fernignore `
3533
3634 <Tip >A ` .fernignore ` file is automatically created in your SDK repository when you use GitHub publishing.</Tip >
3735
38- < CodeBlock title = " .fernignore " >
39- ``` yaml {3}
36+
37+ ``` yaml {3} title=".fernignore"
4038 # Specify files that shouldn't be modified by Fern
4139
4240 src/helper.ts
4341 ```
4442
45- </CodeBlock >
46-
4743 ### Consume the helper
4844
4945 Now your users can consume the helper function by importing it from the SDK:
You can’t perform that action at this time.
0 commit comments