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.
This is just a minimal repro, the real use case is for types/npm-ramda to generate DT compatible tests so that we could put them on DT, but we got problems.
Is there any reason we can't pass the enclosingDeclaration parameter to typeToString in the expect rule?
The solution is to change the check to use the type relationships API. It should at least be isIdenticalTo rather than a string comparison. (Update: that PR got closed, not merged, so this is block on TypeScript having a type relationships API.)
This is just a minimal repro, the real use case is for types/npm-ramda to generate DT compatible tests so that we could put them on DT, but we got problems.
Is there any reason we can't pass the
enclosingDeclaration
parameter totypeToString
in the expect rule?Code
(index.d.ts)
(something-tests.ts)
Expected
no errors
Actual
The text was updated successfully, but these errors were encountered: