Skip to content

Potential incompatibility with TSC 5.8.2 #161

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions