gajus/eslint-plugin-flowtype
Voir sur GitHuboverloading a function using declare is producing ESLint no-redeclare error
Open
#374 ouverte le 14 nov. 2018
enhancementhelp wanted
Métriques du dépôt
- Stars
- (1 078 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
declare function DataPoolConnectMethodType (): Promise<DatabasePoolConnectionType>;
declare function DataPoolConnectMethodType ((connection: DatabaseIsolatedPoolConnectionType) => Promise<void>): Promise<void>;
Expected:
No error.
Actual:
no-redeclare error.
Related issues: