Skip to content

declaring optional properties #131

@jechlin

Description

@jechlin

Hi - I'm quite new to this so perhaps I am missing something obvious.

I'm looking for a way to declare a property as optional (https://www.typescriptlang.org/docs/handbook/interfaces.html#optional-properties).

I see that I can use declarePropertiesAsOptional , which makes them all optional, and @transient, to exclude them, but I can't find a way of making particular properties optional.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions