Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Use @ts-expect-error #2

Closed
dgp1130 opened this issue May 3, 2020 · 1 comment
Closed

Use @ts-expect-error #2

dgp1130 opened this issue May 3, 2020 · 1 comment
Assignees

Comments

@dgp1130
Copy link
Owner

dgp1130 commented May 3, 2020

The serve() command should infer types correctly on the service implementation provided by the user. This should fail if a given method is not provided, but that is hard to test in an automated fashion.

Once TS3.9 ships, this should include a @ts-expect-error which can verify that the compiler detected such an error. We should update appropriate usages of @ts-ignore to be @ts-expect-error.

@dgp1130 dgp1130 self-assigned this May 3, 2020
@dgp1130 dgp1130 closed this as completed Jun 20, 2020
@dgp1130
Copy link
Owner Author

dgp1130 commented Jun 20, 2020

Obsolete per project shutdown as described in #1 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant