---
title: "Discussion on \"The Role of Void Type in TypeScript\" | Hashnode"
description: "Discussion on \"The Role of Void Type in TypeScript\". Understanding the void type and its use"
url: "https://hashnode.com/posts/the-role-of-void-type-in-typescript/65d338486e035e36b33c9350"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Role of Void Type in TypeScript](https://ugneadomaityte.hashnode.dev/the-role-of-void-type-in-typescript?utm_source=hashnode&utm_medium=feed)

Understanding the void type and its use

Feb 19, 2024 · 2 min read · ugneadomaityte.hashnode.dev  
Read the article

-   [#void-type](https://hashnode.com/tag/void-type)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Ugne Adomaityte](https://hashnode.com/@ugnead)

@ugnead · Vilnius, Lithuania

  
[View profile](https://hashnode.com/@ugnead)

Full Stack Developer

## Responses 1

Markdown supported · ⌘↵ to post

[The Murph](https://hashnode.com/@TheMurph)

[Feb 19, 2024](https://hashnode.com/posts/the-role-of-void-type-in-typescript/65d338486e035e36b33c9350/comment/65d385447ba95649a11b1cf9)

Allowing void for variables reminds me why I generally don't like the TS type system as much as others :/ seems like a weird choice to allow it.
