msw-storybook-addon
msw-storybook-addon copied to clipboard
Quick question on this library
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?