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
I've been trying to see how to update fp-ts-rxjs with the latest version of rxjs, however as has been noted before, the docs that are generated afterwards have the type any in place of the expected Observable. I have found that using a version of docs-ts with the latest ts-morph to generate the docs solves the issue.
When Observable is imported from rxjs@^7.0, a function such as the following
Note that the documentation is generated correctly with the latest release of docs-ts and rxjs@^6.0. I'm not too sure exactly what changes to ts-morph fix the issue or exactly how the bug is caused with the current version of docs-ts.
The text was updated successfully, but these errors were encountered:
I've been trying to see how to update
fp-ts-rxjs
with the latest version of rxjs, however as has been noted before, the docs that are generated afterwards have the typeany
in place of the expectedObservable
. I have found that using a version ofdocs-ts
with the latestts-morph
to generate the docs solves the issue.When
Observable
is imported fromrxjs@^7.0
, a function such as the followinghas its generated documented type set as
When
docs-ts
uses the latestmorph-ts
, we get the correct result:Note that the documentation is generated correctly with the latest release of
docs-ts
andrxjs@^6.0
. I'm not too sure exactly what changes tots-morph
fix the issue or exactly how the bug is caused with the current version ofdocs-ts
.The text was updated successfully, but these errors were encountered: