Comments (1)
Hi, @IanIsFluent. Thanks for proposing this!
We've merged a few improvements to annotating request handlers in MSW, and now have a designated Using with TypeScript recipe in the docs!
I will link to that page from the Getting started page, as well as Intercepting requests and Mocking responses pages to help developers discover the best practices of working with TypeScript.
from mswjs.io.
Related Issues (20)
- Add "Mocking authentication" best practice
- Add light theme to the docs HOT 5
- Docs | minor issue with an unactive link HOT 1
- Missing page at "/404/" (GraphQL operation) HOT 3
- Error in onUnhandledRequest example? HOT 1
- Alternative Jest setup for when Request/Response/TextEncoder is not defined HOT 6
- Broken link in doco HOT 2
- Missing `bypass` description in listen() page. HOT 1
- TypeScript error when using async resolver predicates HOT 1
- Feedback: Using local HTTPS HOT 1
- Missing page at "/404/" https://mswjs.io/docs/api/setup-worker/print-handlers HOT 1
- Document how "cy.route()" works HOT 1
- Missing page at "/404/" HOT 2
- Cannot retrieve XMLHttpRequest HOT 2
- Missing page at "/404/" HOT 1
- React Native integration error index.js HOT 2
- MSW AND AXIOS DO NOT WORK TOGETHER IN REACT NATIVE
- Documentation missing on how to integrate with Expo App Router HOT 2
- Issues integrating with React Native and pnpm HOT 1
- MSW loading in react native is not happening HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mswjs.io.