Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Playground Link
Repro Code
conststaticSymbol=Symbol.for('static symbol');interfaceInterface{identifier:()=>void;1:()=>void;2:()=>void;stringLiteral:()=>void;computedStringLiteral:()=>void;// well known symbol[Symbol.iterator]:()=>void;// less sure if this one is possible to lint for[staticSymbol]:()=>void;}classClazzimplementsInterface{asyncidentifier(){}async1(){}async[2](){}async'stringLiteral'(){}async['computedStringLiteral'](){}async[Symbol.iterator](){};async[staticSymbol](){};}
ESLint Config
module.exports={"rules":{"@typescript-eslint/no-misused-promises":"warn"}}
tsconfig
{"compilerOptions": {"strict":true }}
Expected Result
All method declarations should flag
Actual Result
Onlyasync identifier() {}
andasync 1() {}
flagged.
Additional Info
No response