You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/bicep-import.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This article describes the syntax you use to export and import shared functional
12
12
13
13
## Exporting types, variables and functions
14
14
15
-
The `@export()` decorator is used to indicate that a given statement can be imported by another file. This decorator is only valid on type, variable and function statements. Variable statements marked with `@export()` must be compile-time constants.
15
+
The `@export()` decorator indicates that a given statement can be imported by another file. This decorator is only valid on type, variable, and function statements. Variable statements marked with `@export()` must be compile-time constants.
16
16
17
17
The syntax for exporting functionality for use in other Bicep files is:
18
18
@@ -21,7 +21,7 @@ The syntax for exporting functionality for use in other Bicep files is:
21
21
<statement_to_export>
22
22
```
23
23
24
-
## Import types, variables and functions
24
+
## Import types, variables, and functions
25
25
26
26
The syntax for importing functionality from another Bicep file is:
Both `az` and `sys` are Bicep built-in namespaces. They are imported by default. For more information about the data types and the functions defined in `az` and `sys`, see [Data types](./data-types.md) and [Bicep functions](./bicep-functions.md).
95
+
Both `az` and `sys` are Bicep built-in namespaces. They're imported by default. For more information about the data types and the functions defined in `az` and `sys`, see [Data types](./data-types.md) and [Bicep functions](./bicep-functions.md).
96
96
97
97
The syntax for importing Bicep extensions is:
98
98
99
99
```bicep
100
100
import '<extension-name>@<extension-version>'
101
101
```
102
102
103
-
The syntax for importing Bicep extensions which require configuration is:
103
+
The syntax for importing Bicep extensions, which require configuration is:
104
104
105
105
```bicep
106
106
import '<extension-name>@<extension-version>' with {
0 commit comments