---
date: 2020-11-23
id: c8f28632-bf0c-4e31-81ac-13c76c3dfcf9
title: TypeScript Number Literal Type
---

# Description

Literal Type for [JavaScript Numbers](20200922164416-numbers).

# Syntax

``` typescript
type OneToFive = 1 | 2 | 3 | 4 | 5
```
