Skip to content

Support room.sayhi ${contact} ${num++} #1899

@huan

Description

@huan

Currently, if we use the following TemplateStringArray to make the say method call, we will get an error because the num is not Contact but a number:

// contact: Contact
// num: number
room.say`hi ${contact}, ${num++}`

So we need to support this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions