We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Version: 2.3.2 Code:
// external_library.d.ts interface A { foo: Function; } declare class B implements A { }
Expected behavior: no error Actual behavior: error: Class 'B' incorrectly implements interface 'A'
This is sort of duplicate of #5749 or #340 except class is declared in d.ts file and implemented by javascript
Why: Currently is needed to copy all declarations from A into B... -> duplicate code
The text was updated successfully, but these errors were encountered:
Not sure what makes this a not-exact-duplicate of #340. See #340 (comment)
Sorry, something went wrong.
@RyanCavanaugh sorry about that - i missed that comment ...
No branches or pull requests
TypeScript Version: 2.3.2
Code:
Expected behavior: no error
Actual behavior: error: Class 'B' incorrectly implements interface 'A'
This is sort of duplicate of #5749 or #340 except class is declared in d.ts file and implemented by javascript
Why: Currently is needed to copy all declarations from A into B... -> duplicate code
The text was updated successfully, but these errors were encountered: