Skip to content

Commit 2496c17

Browse files
committed
update
1 parent d08552e commit 2496c17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-resource-manager/bicep/user-defined-data-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ ms.date: 06/14/2024
88

99
# User-defined data types in Bicep
1010

11-
Learn how to use user-defined data types in Bicep. For system-defined data types, see [Data types](./data-types.md).
11+
Learn how to create user-defined data types in Bicep. For system-defined data types, see [Data types](./data-types.md).
1212

1313
[Bicep CLI version 0.12.X or higher](./install.md) is required to use this feature.
1414

1515
## Syntax
1616

17-
You can use the `type` statement to define user-defined data types. In addition, you can also use type expressions in some places to define custom types.
17+
You can use the `type` statement to create user-defined data types. In addition, you can also use type expressions in some places to define custom types.
1818

1919
```bicep
2020
type <user-defined-data-type-name> = <type-expression>
@@ -81,7 +81,7 @@ The valid type expressions include:
8181
}
8282
```
8383
84-
Decorators may be used on properties. `*` may be used to make all values require a constraint. Additional properties may still be defined when using `*`. This example creates an object that requires a key of type int named `id`, and that all other entries in the object must be a string value at least 10 characters long.
84+
Decorators may be used on properties. `*` may be used to make all values require a constraint. Additional properties may still be defined when using `*`. This example creates an object that requires a key of type `int` named _id_, and that all other entries in the object must be a string value at least 10 characters long.
8585
8686
```bicep
8787
type obj = {

0 commit comments

Comments
 (0)