Skip to content

[I] TypeNameOptions

Control qualification and identifier escaping when displaying semantic entities.

PropertyTypeDescription
nameOnly?booleanOmit enclosing namespace and member-container qualification where supported.
namespaceFilter?(ns) => booleanStop namespace qualification at the first namespace for which this returns false.
printable?booleanEscape identifiers as TypeSpec source rather than displaying their unescaped names.