Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove decorator return types #9

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

aedart
Copy link
Owner

@aedart aedart commented Mar 8, 2024

Returns types for meta(), targetMeta(), and inheritTargetMeta() have now been removed. They continued to cause TS1270 and TS1238 errors.
Each of these decorators now have implicit any return type and should therefore not cause more issues (hopefully)!

References

Sadly, these decorators continued to cause TS1270 and TS1238 errors. Now, each have an implicit any return type. The decorator type aliases will still remain, such that JSDoc can reference them. However, they will most likely have to be adapted again in the future...
@aedart aedart added the bug Something isn't working label Mar 8, 2024
@aedart aedart self-assigned this Mar 8, 2024
@aedart aedart merged commit 0e698e7 into main Mar 8, 2024
2 checks passed
@aedart aedart deleted the remove-decorator-return-types branch March 8, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant