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

Upgrade typescript to support compile-less client usage #6175

Open
Tracked by #5662
cephalization opened this issue Jan 24, 2025 · 0 comments
Open
Tracked by #5662

Upgrade typescript to support compile-less client usage #6175

cephalization opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@cephalization
Copy link
Contributor

cephalization commented Jan 24, 2025

It would be cool if the examples can run natively on node v23 without compilation like:

node js/packages/phoenix-client/examples/apply_prompt.ts

Node v23 supports this, as long as you only use "safe" typescript features and your imports/exports are well formed.

The upcoming beta version of typescript allows you to error on any features that will not work with native node typescript invocation

microsoft/TypeScript#59601

@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Jan 24, 2025
@dosubot dosubot bot added the enhancement New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📘 Todo
Development

No branches or pull requests

1 participant