Skip to content

Improve index.d.ts by adding the constructor options type #127

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

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

Conversation

antoniovizuete
Copy link

@antoniovizuete antoniovizuete commented Jul 21, 2022

Improve the typescript support by adding the constructor options type.
The new type is ClickHouseOptions and its properties have been inferred manually.

@@ -1,24 +1,1639 @@
{
"name": "clickhouse",
"version": "2.5.0",
"lockfileVersion": 1,
"lockfileVersion": 2,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is point for package version changes?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi TimonKK,

The npm version that I've installed (8) is causing the change.
No problems are expected because the lockfileVersion 2 is backwards compatible with version 1.
https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json#lockfileversion

Thanks in advance

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.

4 participants