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

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

## Parameters

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

## Returns

[`ExtensionRecord`](../interfaces/ExtensionRecord.md)[]
