---
title: "Discussion on \"Biome said a method never used this, but its default parameter did\" | Hashnode"
description: "Discussion on \"Biome said a method never used this, but its default parameter did\". Biome's useThisInClassMethods flagged a method whose only this was in a default parameter value. Why, the fix, and the decorator catch."
url: "https://hashnode.com/posts/biome-this-in-parameter-defaults/6b0bb9ff136e4cee2582a899"
---

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

Discussion

# [Biome said a method never used this, but its default parameter did](https://ashokramsi.hashnode.dev/biome-this-in-parameter-defaults?utm_source=hashnode&utm_medium=feed)

Biome's useThisInClassMethods flagged a method whose only this was in a default parameter value. Why, the fix, and the decorator catch.

16h ago · 6 min read · ashokramsi.hashnode.dev  
Read the article

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

## Written by

[Ashok Ram](https://hashnode.com/@ashokramsi)

@ashokramsi · Tiruppur, India

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

Open source contributor. Rust, TypeScript, Python, Java

I contribute to open source developer tools: Tauri, Biome, oxc, Julia, Quarkus, Grafana, Burn and a few more. I start from an issue I can reproduce and a test that fails, then fix it. Here I write up the ones worth telling: what broke, why, and how the fix got through review.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
