Skip to content

Add SymbolDisplay option to append suffix for unannotated reference types #28242

@cston

Description

@cston

There are currently SymbolDisplay options to append a suffix for the display of nullable and non-nullable reference types. Consider appending a suffix for unannotated types as well, perhaps ~.

string?
string!
string~

Perhaps rename the existing IncludeNonNullableTypeModifier option and use a single option to specify whether a suffix is added for non-nullable and unannotated types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions