Commit 5e1baa7
authored
fix(docs): Correct optional parameter syntax in caching code snippet (#411)
Updated the `getScheduledEvents` function definition in `epic-stack/docs/caching.md` to correctly denote the `timings` parameter as optional.
- Changed `timings: Timings` to `timings?: Timings` to make it valid TypeScript code.
This fix ensures developers referencing the caching documentation will not encounter issues related to this specific code snippet.1 parent 783f4b0 commit 5e1baa7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments