You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
classMyClass{method1(mimeType: 'image/png',config?: PngConfig): voidmethod1(mimeType: 'image/jpeg',config?: JpegConfig): void/** call with a number */method2(p1: number): void/** call with a string */method2(p1: string): void}
dtslint suggests combining both of those pairs of declarations, but I think that is incorrect. method1 shouldn't be combined because the type of the 2nd arg depends on the value of the 1st arg. method2 shouldn't be combined because their doc strings are different.
The text was updated successfully, but these errors were encountered:
dtslint suggests combining both of those pairs of declarations, but I think that is incorrect.
method1
shouldn't be combined because the type of the 2nd arg depends on the value of the 1st arg.method2
shouldn't be combined because their doc strings are different.The text was updated successfully, but these errors were encountered: