a-tokyo / react-apple-signin-auth

 Apple signin for React using the official Apple JS SDK
https://a-tokyo.github.io/react-apple-signin-auth
MIT License
104 stars 13 forks source link

Add TypeScript Declarations for Enhanced Type Safety #78

Closed Erickinhou closed 11 months ago

Erickinhou commented 11 months ago

Description:

This pull request introduces TypeScript declaration files (*.d.ts) to enhance the type safety of the 'react-apple-signin-auth' repository. By providing accurate type information, developers can benefit from improved code autocompletion, better documentation, and early detection of potential type-related errors during development.

Additional Notes:

I wanted to know if this will work, I'm doing this because I almost used it in a company, but the fact that it doesn't have types makes it impossible to use.

Please review and provide feedback on the changes. Your input is valuable to ensure the successful integration of TypeScript into the project.

tony95271 commented 11 months ago

@a-tokyo request for review

Erickinhou commented 11 months ago

Awesome work!

Please bump the minor version number

Done!