ts-toolbelt hasn't been updated in 5 years now and pulling it in as ramda-types does currently pulls in a lot of extra cruft. (because of using import * as _ from 'ts-toolbelt'; we pull in all types from ts-toolbelt even though ramda-types only needs a few of them)
I would propose that ts-toolbelt be removed as a dependency, with the handful of types that this repo actually depends on being replaced by vendored types copied over from ts-toolbelt into this repo. This would remove an extra npm dependency, and also remove a bunch of extra type weight this package currently incurs.
Happy to help if there's interest in this idea, the ramda-types are a not-insignificant portion of typechecking time for an app I work on at my employer.
ts-toolbelt hasn't been updated in 5 years now and pulling it in as ramda-types does currently pulls in a lot of extra cruft. (because of using
import * as _ from 'ts-toolbelt';we pull in all types from ts-toolbelt even though ramda-types only needs a few of them)I would propose that ts-toolbelt be removed as a dependency, with the handful of types that this repo actually depends on being replaced by vendored types copied over from ts-toolbelt into this repo. This would remove an extra npm dependency, and also remove a bunch of extra type weight this package currently incurs.
Happy to help if there's interest in this idea, the ramda-types are a not-insignificant portion of typechecking time for an app I work on at my employer.