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

feat: Add TypeScript type definitions for S3StreamLogger #56

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

leeyh-kor
Copy link

#49

This PR introduces TypeScript type definitions for the S3StreamLogger library. It enables developers using TypeScript to integrate the library seamlessly into their projects with type safety and enhanced developer experience.

Changes in this PR:

Added a index.d.ts file defining the type structure for the library.
Includes definitions for S3StreamLogger, S3StreamLoggerOptions, and associated classes/methods.
Provides documentation for key options and methods.

Why this is needed:

Many modern JavaScript projects use TypeScript for type safety.
Adding type definitions improves maintainability, supports IDE autocompletion, and reduces runtime errors for TypeScript users.

@autopulated
Copy link
Member

Happy to merge this, but please remove typescript as a devDependency.

@leeyh-kor
Copy link
Author

leeyh-kor commented Dec 30, 2024

Thanks for the feedback! I’ve removed TypeScript from the devDependencies as requested. Let me know if there’s anything else I can improve. 😊

@autopulated autopulated merged commit c4c71e2 into Coggle:master Dec 30, 2024
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.

3 participants