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 was archived by the owner on Mar 12, 2025. It is now read-only.
Problem
stc/crates/stc_ts_type_checker/tests/conformance/types/tuple/arityAndOrderCompatibility01.ts
Lines 1 to 5 in 56ae129
This type is treated almost as a tuple by
tsc, butstcfails to verify it.It's because it extends
Array.Solution
I think we should handle it from
Analyzer.normalize.Implementing special rules to each function for handling such edge looks like overengineering.
We can add logic for checking if the
tyis an interface which extends an array-like builtin interface atstc/crates/stc_ts_file_analyzer/src/analyzer/types/mod.rs
Lines 83 to 99 in 56ae129