@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/api
tsc
server
typingsInstaller
TypingsInstaller
Class TypingsInstaller
Abstract
Index
Constructors
constructor
Properties
install
Typing
Host
latest
Dist
Tag
log
types
Registry
Methods
close
Project
ensure
Package
Directory
Exists
install
install
Worker
send
Response
Constructors
constructor
new
TypingsInstaller
(
installTypingHost
:
InstallTypingHost
,
globalCachePath
:
string
,
safeListPath
:
tsc
.
Path
,
typesMapLocation
:
tsc
.
Path
,
throttleLimit
:
number
,
log
?:
tsc
.
server
.
typingsInstaller
.
Log
,
)
:
TypingsInstaller
Parameters
installTypingHost
:
InstallTypingHost
globalCachePath
:
string
safeListPath
:
tsc
.
Path
typesMapLocation
:
tsc
.
Path
throttleLimit
:
number
Optional
log
:
tsc
.
server
.
typingsInstaller
.
Log
Returns
TypingsInstaller
Properties
Protected
Readonly
install
Typing
Host
installTypingHost
:
InstallTypingHost
Protected
Readonly
latest
Dist
Tag
latestDistTag
:
"latest"
Protected
Readonly
log
log
:
tsc
.
server
.
typingsInstaller
.
Log
Abstract
Readonly
types
Registry
typesRegistry
:
Map
<
string
,
MapLike
<
string
>
>
Methods
close
Project
closeProject
(
req
:
CloseProject
)
:
void
Parameters
req
:
CloseProject
Returns
void
Protected
ensure
Package
Directory
Exists
ensurePackageDirectoryExists
(
directory
:
string
)
:
void
Parameters
directory
:
string
Returns
void
install
install
(
req
:
DiscoverTypings
)
:
void
Parameters
req
:
DiscoverTypings
Returns
void
Protected
Abstract
install
Worker
installWorker
(
requestId
:
number
,
packageNames
:
string
[]
,
cwd
:
string
,
onRequestCompleted
:
RequestCompletedAction
,
)
:
void
Parameters
requestId
:
number
packageNames
:
string
[]
cwd
:
string
onRequestCompleted
:
RequestCompletedAction
Returns
void
Protected
Abstract
send
Response
sendResponse
(
response
:
|
SetTypings
|
InvalidateCachedTypings
|
BeginInstallTypes
|
EndInstallTypes
|
WatchTypingLocations
,
)
:
void
Parameters
response
:
|
SetTypings
|
InvalidateCachedTypings
|
BeginInstallTypes
|
EndInstallTypes
|
WatchTypingLocations
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
install
Typing
Host
latest
Dist
Tag
log
types
Registry
Methods
close
Project
ensure
Package
Directory
Exists
install
install
Worker
send
Response
@servicenow/sdk - v4.4.1
Loading...