Closed Jack-Works closed 3 years ago
I cannot reproduce it using your code.
Hmm sorry, maybe I'm over abstracted my case so it isn't work anymore. I'll try to verify it later
type conf = {
a: Map<string, number>
}
function f(t: conf) {}
f({ a: new Map() })
This is my case.
➜ yarn type-coverage --strict --detail
test.ts:6:5: a
8 / 9 88.88%
type-coverage success.
a should not be uncovered.
v2.8.3 should fix this.
Version(if relevant): 2.8.2
Code(if relevant):