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

Potential incompatibility with TSC 5.8.2 #161

Open
gundermanc opened this issue Mar 7, 2025 · 0 comments
Open

Potential incompatibility with TSC 5.8.2 #161

gundermanc opened this issue Mar 7, 2025 · 0 comments

Comments

@gundermanc
Copy link
Member

Using <SystemMessage> with children in a NodeJS application with TSC v.5.8.2 I get an error message.

TSX

<SystemMessage priority={1000}>
    What a great system.
</SystemMessage>

Error:

Type '{ children: any[]; priority: number; }' is not assignable to type 'ChatMessageProps'.
  Property 'children' does not exist on type 'ChatMessageProps'.ts(2322)

Is prompt-tsx not supported in TypeScript 5.8.2? Is there plans to add support?

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

No branches or pull requests

1 participant