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

Convert JS files to TypeScript #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

producta-ai[bot]
Copy link

@producta-ai producta-ai bot commented Nov 22, 2024

This pull request converts several JavaScript files to TypeScript:

  • config.js to config.ts: Added type annotations to the merge function parameters and return type, using Record<string, any> for flexibility.
  • locale.js to locale.ts: Added type annotations to functions and parameters, ensuring the async function getLocaleMessages returns a Promise.
  • Renamed index.js files in utils, components, and providers directories to index.ts without any other changes.

These changes improve type safety and maintainability. Please feel free to ask for more information if needed.

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.

0 participants