Skip to content

[I] SourceLocationOptions

Control which part of a diagnostic target is used as its source range.

PropertyTypeDescription
locateId?booleanIf trying to resolve the location of a type with an ID, show the location of the ID node instead of the entire type. For type references, show the reference target without template arguments. This makes sure that the location range is not too large and hard to read.