Skip to content

Convert registration-auth.js to Typescript#1228

Open
garvthakre wants to merge 1 commit intometabrainz:masterfrom
garvthakre:convert-registration-auth-to-typescript
Open

Convert registration-auth.js to Typescript#1228
garvthakre wants to merge 1 commit intometabrainz:masterfrom
garvthakre:convert-registration-auth-to-typescript

Conversation

@garvthakre
Copy link
Contributor

Problem

This PR is part of the ongoing TypeScript migration of the BookBrainz codebase. The registration-auth component is currently written in JavaScript with PropTypes for type checking, which provides less type safety compared to TypeScript's compile-time type checking.

Solution

This PR converts registration-auth.js to TypeScript by:

1.Renaming the file from .js to .tsx
2.Updating the JSDoc comment to reflect TypeScript typing conventions
3.Maintaining all existing functionality without any behavioral changes

Areas of Impact

File affected: src/client/components/pages/registration-auth.jssrc/client/components/pages/registration-auth.tsx

@garvthakre
Copy link
Contributor Author

hey @MonkeyDo , i just converted this small file ,can u check it and give your review.

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.

1 participant

Comments