Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Repro
{"rules": {"@typescript-eslint/sort-type-union-intersection-members":"warn" }}typeExpected=(new(x:string)=>object)&((x:number)=>boolean)&{readonlyx:number;readonlyy:string;};
Expected Result
Should be fixed to:
typeExpected=((x:number)=>boolean)&(new(x:string)=>object)&{readonlyx:number;readonlyy:string;};
Actual Result
Got:
typeExpected=((x:number)=>boolean)&new(x:string)=>object&{readonlyx:number;readonlyy:string;};
Additional Info
No
Versions
| package | version |
|---|---|
@typescript-eslint/eslint-plugin | 5.12.1 |
@typescript-eslint/parser | 5.12.1 |
TypeScript | 4.5.5 |
ESLint | 8.9.0 |
node | 14.18.0 |