cube-js/cube

Use tsd for type testing

Open

#4,369 opened on Apr 12, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
help wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

Issues #4160 (PR #4366) and #4202 involve changing some of the declared types in the API. To minimize the risk of regressions (i.e. type errors in code that previously did not produce them), it would be helpful to explicitly test API types. I'm testing out tsd, and it seems to work quite well, but unfortunately I ran into dependency conflicts, and someone more familiar with the codebase would probably be in a better position to resolve them.

Contributor guide