blitz-js / blitz-js/blitz

Improve TypeScript errors for gSSP and gSP

Open
#3,355 0 comments 0 reactions 0 assignees View on GitHub
status/ready-to-work-on toolkit
Dominant language
TypeScript
Stars
14.1k
Forks
803
PR merge metrics
No merged PRs in 30d

Description

Currently if props don't match, the error is displayed on the handler definition level. We should make the error to be on the return statement level:

Screenshot 2022-05-12 at 12 01 44

Screenshot 2022-05-12 at 12 01 57

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.