@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/api
<internal>
Diagnostic
Class Diagnostic
Abstract
Hierarchy (
View Summary
)
Diagnostic
TypeScriptDiagnostic
Index
Constructors
constructor
Properties
code
file
level
message
position
source
Methods
as
Lsp
Diagnostic
as
Type
Script
Diagnostic
get
Formatted
Text
print
Constructors
constructor
new
Diagnostic
(
message
:
string
,
file
:
SourceFile
,
position
:
{
end
:
number
;
start
:
number
}
,
code
:
tsc
.
SyntaxKind
,
source
:
"fluent"
|
"ts"
,
level
?:
Diagnostic
.
Level
,
)
:
Diagnostic
Parameters
message
:
string
file
:
SourceFile
position
:
{
end
:
number
;
start
:
number
}
code
:
tsc
.
SyntaxKind
source
:
"fluent"
|
"ts"
Optional
level
:
Diagnostic
.
Level
Returns
Diagnostic
Properties
Readonly
code
code
:
tsc
.
SyntaxKind
Readonly
file
file
:
SourceFile
Readonly
level
level
:
Diagnostic
.
Level
Readonly
message
message
:
string
Readonly
position
position
:
{
end
:
number
;
start
:
number
}
Readonly
source
source
:
"fluent"
|
"ts"
Methods
as
Lsp
Diagnostic
asLspDiagnostic
()
:
Diagnostic
Returns
Diagnostic
Abstract
as
Type
Script
Diagnostic
asTypeScriptDiagnostic
()
:
tsc
.
Diagnostic
Returns
tsc
.
Diagnostic
get
Formatted
Text
getFormattedText
(
colors
?:
boolean
)
:
string
Parameters
Optional
colors
:
boolean
Returns
string
print
print
(
logger
:
Logger
,
__namedParameters
?:
PrintOptions
)
:
void
Parameters
logger
:
Logger
Optional
__namedParameters
:
PrintOptions
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
code
file
level
message
position
source
Methods
as
Lsp
Diagnostic
as
Type
Script
Diagnostic
get
Formatted
Text
print
@servicenow/sdk - v4.4.1
Loading...