Search
Preparing search index...
The search index is not available
ts-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ts-node
TSCommon
LanguageServiceHost
Interface LanguageServiceHost
Hierarchy
LanguageServiceHost
LanguageServiceHost
Index
Methods
directory
Exists
error
file
Exists
get
Cancellation
Token
get
Compilation
Settings
get
Compiler
Host
get
Current
Directory
get
Custom
Transformers
get
Default
Lib
File
Name
get
Directories
get
Localized
Diagnostic
Messages
get
New
Line
get
Parsed
Command
Line
get
Project
References
get
Project
Version
get
Resolved
Module
With
Failed
Lookup
Locations
From
Cache
get
Script
File
Names
get
Script
Kind
get
Script
Snapshot
get
Script
Version
get
Type
Roots
Version
install
Package
is
Known
Types
Package
Name
log
read
Directory
read
File
realpath
resolve
Module
Names
resolve
Type
Reference
Directives
trace
use
Case
Sensitive
File
Names
write
File
Methods
Optional
directory
Exists
directory
Exists
(
directoryName
:
string
)
:
boolean
Parameters
directoryName:
string
Returns
boolean
Optional
error
error
(
s
:
string
)
:
void
Parameters
s:
string
Returns
void
file
Exists
file
Exists
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
Optional
get
Cancellation
Token
get
Cancellation
Token
(
)
:
HostCancellationToken
Returns
HostCancellationToken
get
Compilation
Settings
get
Compilation
Settings
(
)
:
CompilerOptions
Returns
CompilerOptions
Optional
get
Compiler
Host
get
Compiler
Host
(
)
:
undefined
|
CompilerHost
Returns
undefined
|
CompilerHost
get
Current
Directory
get
Current
Directory
(
)
:
string
Returns
string
Optional
get
Custom
Transformers
get
Custom
Transformers
(
)
:
undefined
|
CustomTransformers
Gets a set of custom transformers to use during emit.
Returns
undefined
|
CustomTransformers
get
Default
Lib
File
Name
get
Default
Lib
File
Name
(
options
:
CompilerOptions
)
:
string
Parameters
options:
CompilerOptions
Returns
string
Optional
get
Directories
get
Directories
(
directoryName
:
string
)
:
string
[]
Parameters
directoryName:
string
Returns
string
[]
Optional
get
Localized
Diagnostic
Messages
get
Localized
Diagnostic
Messages
(
)
:
any
Returns
any
Optional
get
New
Line
get
New
Line
(
)
:
string
Returns
string
Optional
get
Parsed
Command
Line
get
Parsed
Command
Line
(
fileName
:
string
)
:
undefined
|
ParsedCommandLine
Parameters
fileName:
string
Returns
undefined
|
ParsedCommandLine
Optional
get
Project
References
get
Project
References
(
)
:
undefined
|
readonly
ProjectReference
[]
Returns
undefined
|
readonly
ProjectReference
[]
Optional
get
Project
Version
get
Project
Version
(
)
:
string
Returns
string
Optional
get
Resolved
Module
With
Failed
Lookup
Locations
From
Cache
get
Resolved
Module
With
Failed
Lookup
Locations
From
Cache
(
modulename
:
string
, containingFile
:
string
, resolutionMode
?:
CommonJS
|
ESNext
)
:
undefined
|
ResolvedModuleWithFailedLookupLocations
Parameters
modulename:
string
containingFile:
string
Optional
resolutionMode:
CommonJS
|
ESNext
Returns
undefined
|
ResolvedModuleWithFailedLookupLocations
get
Script
File
Names
get
Script
File
Names
(
)
:
string
[]
Returns
string
[]
Optional
get
Script
Kind
get
Script
Kind
(
fileName
:
string
)
:
ScriptKind
Parameters
fileName:
string
Returns
ScriptKind
get
Script
Snapshot
get
Script
Snapshot
(
fileName
:
string
)
:
undefined
|
IScriptSnapshot
Parameters
fileName:
string
Returns
undefined
|
IScriptSnapshot
get
Script
Version
get
Script
Version
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
Optional
get
Type
Roots
Version
get
Type
Roots
Version
(
)
:
number
Returns
number
Optional
install
Package
install
Package
(
options
:
InstallPackageOptions
)
:
Promise
<
ApplyCodeActionCommandResult
>
Parameters
options:
InstallPackageOptions
Returns
Promise
<
ApplyCodeActionCommandResult
>
Optional
is
Known
Types
Package
Name
is
Known
Types
Package
Name
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
Optional
log
log
(
s
:
string
)
:
void
Parameters
s:
string
Returns
void
Optional
read
Directory
read
Directory
(
path
:
string
, extensions
?:
readonly
string
[]
, exclude
?:
readonly
string
[]
, include
?:
readonly
string
[]
, depth
?:
number
)
:
string
[]
Parameters
path:
string
Optional
extensions:
readonly
string
[]
Optional
exclude:
readonly
string
[]
Optional
include:
readonly
string
[]
Optional
depth:
number
Returns
string
[]
read
File
read
File
(
path
:
string
, encoding
?:
string
)
:
undefined
|
string
Parameters
path:
string
Optional
encoding:
string
Returns
undefined
|
string
Optional
realpath
realpath
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
Optional
resolve
Module
Names
resolve
Module
Names
(
moduleNames
:
string
[]
, containingFile
:
string
, reusedNames
:
undefined
|
string
[]
, redirectedReference
:
undefined
|
ResolvedProjectReference
, options
:
CompilerOptions
, containingSourceFile
?:
SourceFile
)
:
(
undefined
|
ResolvedModule
)
[]
Parameters
moduleNames:
string
[]
containingFile:
string
reusedNames:
undefined
|
string
[]
redirectedReference:
undefined
|
ResolvedProjectReference
options:
CompilerOptions
Optional
containingSourceFile:
SourceFile
Returns
(
undefined
|
ResolvedModule
)
[]
Optional
resolve
Type
Reference
Directives
resolve
Type
Reference
Directives
(
typeDirectiveNames
:
string
[]
|
FileReference
[]
, containingFile
:
string
, redirectedReference
:
undefined
|
ResolvedProjectReference
, options
:
CompilerOptions
, containingFileMode
?:
CommonJS
|
ESNext
)
:
(
undefined
|
ResolvedTypeReferenceDirective
)
[]
Parameters
typeDirectiveNames:
string
[]
|
FileReference
[]
containingFile:
string
redirectedReference:
undefined
|
ResolvedProjectReference
options:
CompilerOptions
Optional
containingFileMode:
CommonJS
|
ESNext
Returns
(
undefined
|
ResolvedTypeReferenceDirective
)
[]
Optional
trace
trace
(
s
:
string
)
:
void
Parameters
s:
string
Returns
void
Optional
use
Case
Sensitive
File
Names
use
Case
Sensitive
File
Names
(
)
:
boolean
Returns
boolean
Optional
write
File
write
File
(
fileName
:
string
, content
:
string
)
:
void
Parameters
fileName:
string
content:
string
Returns
void
Exports
Node
Loader
HooksAPI1
Node
Loader
HooksAPI2
TSCommon
Module
Kind
Language
Service
Host
directory
Exists
error
file
Exists
get
Cancellation
Token
get
Compilation
Settings
get
Compiler
Host
get
Current
Directory
get
Custom
Transformers
get
Default
Lib
File
Name
get
Directories
get
Localized
Diagnostic
Messages
get
New
Line
get
Parsed
Command
Line
get
Project
References
get
Project
Version
get
Resolved
Module
With
Failed
Lookup
Locations
From
Cache
get
Script
File
Names
get
Script
Kind
get
Script
Snapshot
get
Script
Version
get
Type
Roots
Version
install
Package
is
Known
Types
Package
Name
log
read
Directory
read
File
realpath
resolve
Module
Names
resolve
Type
Reference
Directives
trace
use
Case
Sensitive
File
Names
write
File
Generated using
TypeDoc
Gets a set of custom transformers to use during emit.