# FinallyClause

A finally clause of a try statement.

* jsx

  ```tsx
  import { FinallyClause } from "@alloy-js/typescript";


  <FinallyClause >
    {children}
  </FinallyClause>
  ```

* stc

  ```ts
  import { FinallyClause } from "@alloy-js/typescript/stc";


  FinallyClause({  }).children(children)
  ```

## Props

|          |                                           |   |
| -------- | ----------------------------------------- | - |
| children | [Children](../../../core/types/children/) |   |

## Example

```tsx
<TryStatement>
  // risky operation
</TryStatement>
<FinallyClause>
  // cleanup
</FinallyClause>
```

renders to

```ts
try {
  // risky operation
} finally {
  // cleanup
}
```
