Skip to content

Commit

Permalink
Merge pull request #1546 from mdrizwanfk/patch-1
Browse files Browse the repository at this point in the history
fix(docs): Format argument as optional parameter
  • Loading branch information
Zachatoo authored Feb 28, 2025
2 parents 4281da9 + 70d94bf commit 1a06c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You mustn't specify the name nor the type nor the default value of an argument w
Let's take the `tp.date.now` internal function documentation as an example:

```
tp.date.now(format: string = "YYYY-MM-DD", offset?: number|string, reference?: string, reference_format?: string)
tp.date.now(format?: string = "YYYY-MM-DD", offset?: number|string, reference?: string, reference_format?: string)
```

This internal function has 4 optional arguments:
Expand Down

0 comments on commit 1a06c95

Please sign in to comment.