---
title: normalizeJoinType
---

# normalizeJoinType

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/data-table/src/lib/sql-helpers.ts#L34" target="_blank">View Source</a>

## Summary

Normalizes an arbitrary join type string into `inner`, `left`, or `right`.

## Signature

```ts
function normalizeJoinType(type: string): string;

```

## Params

### type

Input join type.

## Returns

Normalized join type.