# extractPropsFromTypeAnnotation

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/utils/ast-helpers.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/utils/ast-helpers.ts#L267)

Extract props from TypeScript type annotation

## Signature

```ts
function extractPropsFromTypeAnnotation(typeNode: t.TSType, typeDefinitions: TypeDefinitionMap): PropInfo[]
```

## Parameters

| Name | Type |
|---|---|
| `typeNode` | `t.TSType` |
| `typeDefinitions` | `TypeDefinitionMap` |

**Returns:** `PropInfo[]`
