# extractPropsFromTypeAnnotation

**Kind:** Function

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

Extract props from TypeScript type annotation

## Signature

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

## Parameters

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

**Returns:** `PropInfo[]`
