gajus/eslint-plugin-flowtype
在 GitHub 查看overloading a function using declare is producing ESLint no-redeclare error
Open
#374 创建于 2018年11月14日
enhancementhelp wanted
仓库指标
- Star
- (1,078 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
declare function DataPoolConnectMethodType (): Promise<DatabasePoolConnectionType>;
declare function DataPoolConnectMethodType ((connection: DatabaseIsolatedPoolConnectionType) => Promise<void>): Promise<void>;
Expected:
No error.
Actual:
no-redeclare error.
Related issues: