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 types declaration file #18

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

Conversation

climba03003
Copy link

Closes #17

It should be good for the initial types.
I do not change the package.json since this package provide both cjs and esm.
Having the types field may get things weird in types resolving.
.d.cts should match .cjs and .d.ts should match .js automatically.

index.d.cts Outdated Show resolved Hide resolved
@climba03003 climba03003 mentioned this pull request Apr 18, 2024
@climba03003 climba03003 changed the title πŸ‘¨β€πŸ’» Add types decoration file πŸ‘¨β€πŸ’» Add types declaration file Apr 18, 2024
@climba03003
Copy link
Author

@dr-dimitru Can you double check the current types if it meet the actual implementation?

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.

TypeScript support
2 participants