Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion website/src/content/docs/docs/language-basics/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ model Dog {

#### Default values

[Optional properties](#optional-properties) can be assigned a default value using the `=` operator.
Properties can be assigned a default value using the `=` operator.

```typespec
model Dog {
address?: string = "wild";
age: number = 0;
}
```

Expand Down