# ToRendered

Computes the DOM value represented by a nullable `RenderEvent`.

## Signatures

```ts
export type ToRendered<T extends RenderEvent | null> = Rendered | (T extends null ? null : never);
```

## Why

Root rendering preserves `null` in the public result when a source can render
nothing, while non-null events expose their actual `Rendered` nodes.

## Ownership and lifetime

This type-level projection does not own the nodes it describes.

## Examples

```ts
import type { ToRendered } from "@typed/template/Render"
import type { DomRenderEvent } from "@typed/template/RenderEvent"

type Output = ToRendered<DomRenderEvent>
```
