File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ Define a field within a table. Should be immediately following a [`@class`](#cla
549
549
** Syntax**
550
550
551
551
<div class = " syntax" >
552
- ` ---@field [scope] <name> <type> [description] `
552
+ ` ---@field [scope] <name[?] > <type> [description] `
553
553
</div >
554
554
555
555
It is also possible to allow _ any_ key of a certain type to be added using the below:
@@ -573,7 +573,7 @@ It is also possible to allow _any_ key of a certain type to be added using the b
573
573
--- @field height number The height of this person in cm
574
574
--- @field weight number The weight of this person in kg
575
575
--- @field firstName string The first name of this person
576
- --- @field lastName string The last name of this person
576
+ --- @field lastName ? string The last name of this person
577
577
--- @field age integer The age of this person
578
578
579
579
--- @param person Person
You can’t perform that action at this time.
0 commit comments