gajus/eslint-plugin-flowtype
GitHub で見るoverloading a function using declare is producing ESLint no-redeclare error
Open
#374 opened on 2018年11月14日
enhancementhelp wanted
説明
declare function DataPoolConnectMethodType (): Promise<DatabasePoolConnectionType>;
declare function DataPoolConnectMethodType ((connection: DatabaseIsolatedPoolConnectionType) => Promise<void>): Promise<void>;
Expected:
No error.
Actual:
no-redeclare error.
Related issues: