axios-mock-adapter icon indicating copy to clipboard operation
axios-mock-adapter copied to clipboard

auto-import in vscode wants import MockAdapter from 'axios-mock-adapter/types';

Open xenoterracide opened this issue 5 years ago • 0 comments

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.

xenoterracide avatar Jul 08 '20 16:07 xenoterracide