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 types, update API doc #1022

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

asselin
Copy link
Contributor

@asselin asselin commented Mar 17, 2025

Fixes #1019

This PR updates the Typescript types from @DefinitelyTyped and adds them to this package. I also updated the API Documentation to align with the current implementation.

I elected to create the Typescript types by creating ordinary .ts files and compiling them. My reasoning is that more TS developers are familiar with regular .ts rather than the extra syntax in .d.ts files.

I also updated the API documentation to fix some wording and typos, update the API signatures, and create a table of contents organized by object name. I also updated the examples to use more modern JS and variable names based on the class names.

Please let me know if this is acceptable for merging.

Thanks!

DCO Signed-off-by: Andre Asselin andre.asselin@primerica.com

…his package.

I elected to create the Typescript types by creating ordinary .ts files and compiling them. My reasoning is that more TS developers are familiar with regular .ts rather than the extra syntax in .d.ts files.

I also updated the API documentation to fix some wording and typos, update the API signatures, and create a table of contents organized by object name. I also updated the examples to use more modern JS and variable names based on the class names.

Signed-off-by: Andre Asselin <andre.asselin@primerica.com>
@asselin asselin force-pushed the feature/typescript-types branch from 0eab1ba to adaaa3b Compare March 17, 2025 14:50
@asselin
Copy link
Contributor Author

asselin commented Mar 17, 2025

Force pushed the branch to add signoff message to the commit (also squashed all commits into 1)

@asselin
Copy link
Contributor Author

asselin commented Mar 18, 2025

@bimalkjha Here's the PR to add Typescript types.

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 types out of sync with ibm_db code - PR accepted?
2 participants