msw-storybook-addon icon indicating copy to clipboard operation
msw-storybook-addon copied to clipboard

Quick question on this library

Open alexbjorlig opened this issue 6 months ago • 0 comments

I'm pretty new to Storybook and msw. I tried setting up this library in a story, and some things seem to work.

I then try to read the documentation here - where there is talked extensively about importing HttpResponse from 'msw'. But when I try this in my story, I just get:

import { rest, HttpResponse  } from 'msw';
// '"msw"' has no exported member named 'HttpResponse'. Did you mean 'response'?ts(2724)

I'm I reading documentation the wrong place, or what is up and down here?

alexbjorlig avatar Dec 19 '23 19:12 alexbjorlig