graasp / graasp/client

Mark the `statusCode` property of `Endpoint` in mockHook required ?

Open
#887 0 comments 0 reactions 1 assignee Claimed by @spaenleh View on GitHub
question
Dominant language
TypeScript
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently the `statusCode` property is marked as optional in the `Endpoint` type when making tests. But this can lead to typos. If we make it required it should lead to better DX, but we will have to add it back everywhere it was omitted.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.