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

refactor: enable Typescript strict mode #757

Merged
merged 8 commits into from
Jun 11, 2024
Merged

refactor: enable Typescript strict mode #757

merged 8 commits into from
Jun 11, 2024

Conversation

HavardNot
Copy link
Contributor

@HavardNot HavardNot commented Jun 5, 2024

Fixes all strict errors. There are still a few "anys" that give warnings though.

@HavardNot HavardNot requested a review from nesadrian June 5, 2024 13:06
services/notifyOthers.ts Outdated Show resolved Hide resolved
@nesadrian
Copy link
Contributor

We should go through all the api files and set the correct return types. It will be easier to determine the types of the rest of the application after doing this. If you want to do this separately then please make an issue for this.

@HavardNot HavardNot linked an issue Jun 7, 2024 that may be closed by this pull request
# Conflicts:
#	components/DurationComponent.tsx
#	components/SideBarBody.tsx
@HavardNot
Copy link
Contributor Author

We should go through all the api files and set the correct return types. It will be easier to determine the types of the rest of the application after doing this. If you want to do this separately then please make an issue for this.

I have reviewed the API models and updated any types in the frontend that were missing or mismatched. Should be good now afaik

@HavardNot HavardNot requested a review from nesadrian June 10, 2024 06:22
nesadrian
nesadrian previously approved these changes Jun 10, 2024
@HavardNot HavardNot merged commit 7382209 into main Jun 11, 2024
5 checks passed
@HavardNot HavardNot deleted the fix-ts-errors branch June 11, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix TypeScript strict mode errors
2 participants