Closed kdy1 closed 1 year ago
https://github.com/dudykr/stc/blob/273356f921c6152b5a45c41527923a86361ebe13/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/indexSignatureTypeInference.ts#L1-L17
At the code above, line 17 should pass. i.e. StringMap<Function> is assignable to NumberMap<Function>.
StringMap<Function>
NumberMap<Function>
issue can be closed
Thank you!
https://github.com/dudykr/stc/blob/273356f921c6152b5a45c41527923a86361ebe13/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/indexSignatureTypeInference.ts#L1-L17
At the code above, line 17 should pass. i.e.
StringMap<Function>
is assignable toNumberMap<Function>
.