Skip to content

Conversation

@iamramtin
Copy link

This PR adds TypeScript support to the existing client, while keeping the original JavaScript version intact. The TypeScript files provide improved type safety and developer experience for those who prefer working with TypeScript.

Changes:

  1. Added TypeScript (client.ts) alongside the existing JavaScript (client.js) client.
  2. Type annotations and type safety improvements in the TypeScript version.
  3. Updated README

No changes made to the existing JavaScript functionality.

You can run the JavaScript client as usual:
node client.js

Alternatively, run the new TypeScript client using:
npx ts-node client.ts

Signed-off-by: Ramtin Mesgari <[email protected]>
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.

1 participant