[F] getSourceLocation
Call Signature
function getSourceLocation(target, options?): SourceLocation;
Parameters
Parameter | Type |
---|---|
target | DiagnosticTarget |
options? | SourceLocationOptions |
Returns
Call Signature
function getSourceLocation(target, options?): undefined;
Parameters
Parameter | Type |
---|---|
target | undefined | typeof NoTarget |
options? | SourceLocationOptions |
Returns
undefined
Call Signature
function getSourceLocation(target, options?): undefined | SourceLocation;
Parameters
Parameter | Type |
---|---|
target | | undefined | DiagnosticTarget | typeof NoTarget |
options? | SourceLocationOptions |
Returns
undefined
| SourceLocation