Skip to content

Commit fe46fab

Browse files
committed
clarify compileTimeImport
1 parent dafbfe3 commit fe46fab

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
@@ -3,7 +3,7 @@ title: User-defined types in Bicep
33
description: Describes how to define and use user-defined data types in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 09/14/2023
6+
ms.date: 09/20/2023
77
---
88

99
# User-defined data types in Bicep
@@ -217,9 +217,9 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
217217
}
218218
```
219219

220-
## Decorator
220+
## Import types between Bicep files (Preview)
221221

222-
[Bicep version 0.21.1 or newer](./install.md) is required to use this feature. The experimental flag `compileTimeImports` must be enabled from the [Bicep config file](./bicep-config.md#enable-experimental-features).
222+
[Bicep version 0.21.1 or newer](./install.md) is required to use this compile-time import feature. The experimental flag `compileTimeImports` must be enabled from the [Bicep config file](./bicep-config.md#enable-experimental-features).
223223

224224
Only user-defined data types that bear the `@export()` decorator can be imported to other templates. Currently, this decorator can only be used on `type` statements.
225225

0 commit comments

Comments
 (0)