Jun 13, 2021
If you need to mock console, where do you find the type for that? If you need to mock a dependency (code you didn't write/don't own), and the type is MyThing<T, U>, what do you put there?
If you need to mock console, where do you find the type for that? If you need to mock a dependency (code you didn't write/don't own), and the type is MyThing<T, U>, what do you put there?
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.