Skip to content

Commit 95174d5

Browse files
authored
docs(eslint-plugin): corrected typo unbounded-method (typescript-eslint#1558)
1 parent 8643d56 commit 95174d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-plugin/docs/rules/unbound-method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const { logBound } = instance;
4343
logBound();
4444

4545
// .bind and lambdas will also add a correct scope
46-
const dotBindLog = instance.log.bind(instance);
47-
const innerLog = () => instance.log();
46+
const dotBindLog = instance.logBound.bind(instance);
47+
const innerLog = () => instance.logBound();
4848
```
4949

5050
## Options

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy