---
url: /reference/Interface.TransformExtraOptions.md
---
# Interface: TransformExtraOptions

## Properties

### ast?

* **Type**: `Program`
* **Optional**
* **Experimental**

***

### attributes

* **Type**: `Record`<`string`, `string`>

The import attributes the module was imported with. `{}` means none. Without
[`experimental.importAttributes`](Interface.InputOptions.md#experimental), it is always `{}`,
even when the import has attributes.

***

### magicString?

* **Type**: [`RolldownMagicString`](Interface.RolldownMagicString.md)
* **Optional**
* **Experimental**

***

### moduleType

* **Type**: [`ModuleType`](TypeAlias.ModuleType.md)

***

### rawId

* **Type**: `string`

The module id without import attributes. Without
[`experimental.importAttributes`](Interface.InputOptions.md#experimental), it equals `id`.
