# ts-morph Documentation
# Source: https://raw.githubusercontent.com/dsherret/ts-morph/latest/docs/details/signatures.md
# Path: docs/details/signatures.md

---
title: Signatures
---

## Signatures

### Type Parameters

```ts
const typeParams = signature.getTypeParameters(); // returns: TypeParameter[]
```

### Parameters

```ts
const params = signature.getParameters(); // returns: Symbol[]
```

### Return Type

```ts
const returnType = signature.getReturnType();
```

### Documentation Comments

```ts
const docs = signature.getDocumentationComments();
```

### JS Doc Tags

```ts
const tags = signature.getJsDocTags();
```

### Declaration

```ts
const declaration = signature.getDeclaration();
```