forked from vitest-dev/vitest
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…-dev#353) * feat(useFetch): new feature createFetch * Update packages/core/useFetch/index.ts Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com> * removed unnecessary overloads * Update packages/core/useFetch/index.ts Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com> * baseUrl is now optional * added function to check type of args * removed console log from useFetch test * Update packages/core/useFetch/index.ts Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com> * merged imports in useFetch * chore: update Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
- Loading branch information
Showing
6 changed files
with
133 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters