auto-import in vscode wants import MockAdapter from 'axios-mock-adapter/types';
this is not correct/doesn't work instead it needs to be 'axios-mock-adapter';
obviously I'm hand correcting it, but I suspect this is a layout problem of the published artifact or a naming issue of the .d.ts file. It doesn't affect compiletime, only runtime. So it's a bit weird imho, and the only library I've seen this with.
auto-import in vscode wants
import MockAdapter from 'axios-mock-adapter/types';
this is not correct/doesn't work instead it needs to be
'axios-mock-adapter';
obviously I'm hand correcting it, but I suspect this is a layout problem of the published artifact or a naming issue of the .d.ts file. It doesn't affect compiletime, only runtime. So it's a bit weird imho, and the only library I've seen this with.