---
jsApi: true
title: "[F] getExtensions"

---
```ts
getExtensions(program, target): ExtensionRecord[]
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `target` | `Type` |

## Returns

[`ExtensionRecord`](Interface.ExtensionRecord.md)[]
