Skip to content

Cannot specify a nested optional type without type errors. #70

@metasansana

Description

@metasansana

Example:

{view My view where
    value.client? String %}
{{ @value.client | text }}

tsc complains about the above because "value" may be undefined. Instead value should be required and client optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions