---
title: "Discussion on \"New to TypeScript? Start Simple by Adding It to Your JavaScript Files\" | Hashnode"
description: "Discussion on \"New to TypeScript? Start Simple by Adding It to Your JavaScript Files\". Activate TypeScript by adding  // @ts-check  at the top of your JavaScript file.\nWith TypeScript active, this will enable warnings and errors in your .js file. We immediately get the red squiggly lines, and upon hovering over the problematic code it ..."
url: "https://hashnode.com/posts/new-to-typescript-start-simple-by-adding-it-to-your-javascript-files/669e5e696e0654327e405ac4"
---

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

Discussion

# [New to TypeScript? Start Simple by Adding It to Your JavaScript Files](https://musman.hashnode.dev/new-to-typescript-start-simple-by-adding-it-to-your-javascript-files?utm_source=hashnode&utm_medium=feed)

Activate TypeScript by adding // @ts-check at the top of your JavaScript file. With TypeScript active, this will enable warnings and errors in your .js file. We immediately get the red squiggly lines, and upon hovering over the problematic code it ...

Jul 22, 2024 · 1 min read · musman.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Muhammad Usman](https://hashnode.com/@usman0741)

@usman0741 · Remote

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

Software Engineer (FullStack)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
