taosdata / taosdata/TDengine

node.js native connection @tdengine/client is missing typings definitions and IDEA can't automatically show APIs

Open
#24,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

我对比了两个npm包

  • 原生连接@tdengine/client@^3.0.2
  • rest连接@tdengine/rest@^3.0.2

差异点:

  • 原生连接@tdengine/client在idea内并不能正确识别,原因是npm包内没有ts类型声明文件
    image
    image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the published @tdengine/client package and compare its type-related contents with @tdengine/rest, as described in the issue. Identify how the native package is exposed and verify that its published typings allow an IDE to recognize and display its APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.