gajus/eslint-plugin-flowtype
在 GitHub 查看overloading a function using declare is producing ESLint no-redeclare error
Open
#374 建立於 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: