Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.
This repository was archived by the owner on Oct 30, 2022. It is now read-only.

[BUG] TypeScript support not working #9

@MakeShiftArtist

Description

@MakeShiftArtist

Describe the bug
Since the files are written with ES6 syntax and JSDOC instead of actual typescript, Babel is prefixing variables with an underscore making the JSDOC invalid since the "correct" variable name had an underscore.
Since this was originally meant to be for JS only, TypeScript support would likely require a near full rewrite in TS. This will stay updated until the TypeScript version is done, which I will have as a separate npm package.

To Reproduce
Steps to reproduce the behavior:

  1. Create a typescript project and import the client
  2. Construct Client
  3. Compile code
  4. See errors

Expected behavior
Should compile fine using the d.ts files, but still read JSDOC comments.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Node Version: 17.2
  • Version: 3.0.10

Additional context
Intellisense seems to work fine.

Metadata

Metadata

Labels

BugSomething isn't workingDocumentationImprovements or additions to documentationEnhancementNew feature or requestHelp WantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions