---
title: "normalizeJoinType"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/data-table/src/lib/sql-helpers.ts#L32"
---

# 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.