Skip to content

Commit

Permalink
Docs: Mention TypeScript's compiler check (#12903)
Browse files Browse the repository at this point in the history
* Docs: Mention TypeScript's compiler check

* Update no-dupe-class-members.md
  • Loading branch information
bennycode committed Feb 28, 2020
1 parent de14d1c commit b8e20d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-dupe-class-members.md
Expand Up @@ -70,3 +70,5 @@ class Foo {
This rule should not be used in ES3/5 environments.

In ES2015 (ES6) or later, if you don't want to be notified about duplicate names in class members, you can safely disable this rule.

It's also safe to disable this rule when using TypeScript because TypeScript's compiler already checks for duplicate function implementations.

0 comments on commit b8e20d3

Please sign in to comment.