[LatteBun](../wiki/modules) / [src/template](../wiki/src.template) / convertToBakedDataChunk

# Function: convertToBakedDataChunk()

```ts
function convertToBakedDataChunk(data): Promise<DataChunk>;
```

Defined in: [src/template.ts:105](https://github.com/IsCoffeeTho/lattebun/blob/8382ec8f32febfc92c68f7997028a277c41970a1/src/template.ts#L105)

## Parameters

### data

[`templateBakeable`](../wiki/src.LatteBun.LatteBun.TypeAlias.templateBakeable)

## Returns

`Promise`\<[`DataChunk`](../wiki/src.LatteBun.LatteBun.TypeAlias.DataChunk)\>
