You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
From what I understand load should be able to return undefined in order to trigger a fallthrough to a 404 page. Currently that results in a type error because LoadOutput expects an object, which in my testing doesn't trigger a fallthrough, even if empty.
Logs
N/A
To Reproduce
Return nothing from a typed load function, inspect the type error given.
Expected behavior load should be able to return undefined or null.
The text was updated successfully, but these errors were encountered:
Describe the bug
From what I understand
load
should be able to returnundefined
in order to trigger a fallthrough to a 404 page. Currently that results in a type error becauseLoadOutput
expects an object, which in my testing doesn't trigger a fallthrough, even if empty.Logs
N/A
To Reproduce
Return nothing from a typed
load
function, inspect the type error given.Expected behavior
load
should be able to returnundefined
ornull
.The text was updated successfully, but these errors were encountered: