---
url: /nestjs-odata/api/generated/functions/navigationTargetTypeName.md
---
# Function: navigationTargetTypeName()

> **navigationTargetTypeName**(`navType`): `string`

Defined in: [edm/navigation.ts:57](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/navigation.ts#L57)

The bare entity type name a navigation property points to: strips `Collection(...)` and the
namespace, so `Collection(Default.OrderItem)` and `Default.OrderItem` both give `OrderItem`
(the key `EdmRegistry.getEntityType()` expects).

## Parameters

### navType

`string`

## Returns

`string`
