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(statistics) to typescript #1077

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

meziyum
Copy link
Contributor

@meziyum meziyum commented Mar 18, 2024

Problem

The bookbrainz project has been gradually adopting typescript. Typescript can help us prevent the code base more type safe and boost collaboration

Solution

Refactored the statistics and any related functions to typescript.
Added the type _EditorType which can easily be imported in the ts files wherever necessary

Areas of Impact

statistics page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant