Why is TS dumb here?

TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
4 Replies
b_e_n_t_e_n
b_e_n_t_e_n16mo ago
It knows the proper type when it's incorrect...
erik.gh
erik.gh16mo ago
i don't think that is possible
erik.gh
erik.gh16mo ago
GitHub
Experiment with always using parameters from base types for derived...
Note some related issues for doing this with properties rather than methods: #3667, #6118, #1373. Goal We want to make it easier for users to derive types without rewriting the same parameter signa...
b_e_n_t_e_n
b_e_n_t_e_n16mo ago
Ok thanks