---
title: normalizeJoinType
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/data-table/src/lib/sql-helpers.ts#L13
---

# normalizeJoinType

## Summary

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

## Signature

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

```

## Parameters

### `type`

Input join type.

## Returns

Normalized join type.