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

Add TypeScript support #6

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Conversation

mitsuki31
Copy link
Owner

Overview

This pull request introduces several important updates and enhancements to the temppath project, primarily focused on improving documentation and adding TypeScript support.

Notable Changes

  • Added comprehensive type declarations for the temppath module with TypeScript. This addition includes defining types for all key components of the module, improving type safety and enabling better integration with TypeScript projects.

  • Added the types field to the package.json file. This inclusion specifies the location of the type declaration file (types/index.d.ts), facilitating TypeScript support and enhancing the developer experience.

  • Fixed a typo in the documentation for TempPathOptions in the index file. This correction ensures clarity and accuracy in the documentation, aiding developers in understanding the options available.

Summary

These changes collectively enhance the usability, clarity, and integration capabilities of the temppath module, making it more robust and user-friendly for both JavaScript and TypeScript developers.

@mitsuki31 mitsuki31 added the enhancement New feature or request label Jul 23, 2024
@mitsuki31 mitsuki31 self-assigned this Jul 23, 2024
@mitsuki31 mitsuki31 merged commit 5b7500f into master Jul 23, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant