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
Unfortunately it's not just that type parameters are omitted, but also the fact that importing interface turns it into a type which then can't be used as implements target.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 3.7.x-dev.201xxxxx
Search Terms:
Code
lib.js
interface.ts
Expected behavior:
Generating typedefs should generate TS file that type checks, e.g. for
lib.js
it should produce something like:Actual behavior:
Instead tsc generates
lib.d.ts
file which does not type check, because type parameters are omittedPlayground Link:
Can't make a playground link because it requires multiple files, but here is the repo with the above example
https://github.com/Gozala/tsc-implements-bug
Related Issues:
Unfortunately it's not just that type parameters are omitted, but also the fact that importing interface turns it into a type which then can't be used as implements target.
The text was updated successfully, but these errors were encountered: