This repository was archived by the owner on Apr 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 984
fix(nuxt3): improve error types for useAsyncData and useFetch
#4210
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d3fbb4b
feat(nuxt3): define type explicitly that the error
Mini-ghost 2e1f7bc
test: add test for `useFetch` return error type
Mini-ghost 87188a0
doc(api): update `useFetch` documentation
Mini-ghost 73602af
refactor(nuxt3): rename `ErroT` to `ErrorT`
Mini-ghost 9a51536
feat(nuxt3): use function overloading to determine error type
Mini-ghost ba0aa3b
test: add test for `useFetch` return error type
Mini-ghost baa8957
doc(api): update `useFetch` documentation
Mini-ghost 895228f
Merge branch 'main' into feat/fetch-error-type
danielroe 608a7d8
chore: fix typo
Mini-ghost 8ad808a
Update packages/nuxt3/src/app/composables/fetch.ts
pi0 187bcbd
Update packages/nuxt3/src/app/composables/fetch.ts
pi0 27def74
Merge branch 'feat/fetch-error-type' of github.com:Mini-ghost/framewoβ¦
Mini-ghost 807b2ac
Merge remote-tracking branch 'origin/main' into feat/fetch-error-type
danielroe de1112c
docs: fix missed type from merge
danielroe e60b417
refactor: update to `null | true | Error` and apply to asyncData too
danielroe 448adee
fix: move null to definition
danielroe 20d9556
Merge branch 'main' into feat/fetch-error-type
pi0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: fix typo
- Loading branch information
commit 608a7d83c07ad405e17d100575cfd32d39311d5d
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.