---
title: "Discussion on \"Today I learned how to fix no-unused-vars with typescript\" | Hashnode"
description: "Discussion on \"Today I learned how to fix no-unused-vars with typescript\". I don't know why, but in my current project with TypeScript, there were two rules for unused vars. \n \"no-unused-vars\": [\n      \"error\",\n      {\n        \"vars\": \"all\",\n        \"args\": \"after-used\",\n        \"ignoreRestSiblings\": false\n      }\n    ],\n  ..."
url: "https://hashnode.com/posts/today-i-learned-how-to-fix-no-unused-vars-with-typescript/60b5d6778dde635c33559aac"
---

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

Discussion

# [Today I learned how to fix no-unused-vars with typescript](https://roadtofaang.hashnode.dev/today-i-learned-how-to-fix-no-unused-vars-with-typescript?utm_source=hashnode&utm_medium=feed)

I don't know why, but in my current project with TypeScript, there were two rules for unused vars. "no-unused-vars": \[ "error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false } \], ...

Jun 1, 2021 · 1 min read · roadtofaang.hashnode.dev  
Read the article

-   [#eslint](https://hashnode.com/tag/eslint)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Eugene Maltsev](https://hashnode.com/@hellpirate)

@hellpirate · Russia

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

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
