Search
Preparing search index...
The search index is not available
ts-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ts-node
NodeLoaderHooksAPI1
Namespace NodeLoaderHooksAPI1
Index
Type aliases
Get
Format
Hook
Resolve
Hook
Transform
Source
Hook
Type aliases
Get
Format
Hook
Get
Format
Hook
:
(
url
:
string
, context
:
{}
, defaultGetFormat
:
GetFormatHook
)
=>
Promise
<
{
format
:
NodeLoaderHooksFormat
}
>
Type declaration
(
url
:
string
, context
:
{}
, defaultGetFormat
:
GetFormatHook
)
:
Promise
<
{
format
:
NodeLoaderHooksFormat
}
>
Parameters
url:
string
context:
{}
defaultGetFormat:
GetFormatHook
Returns
Promise
<
{
format
:
NodeLoaderHooksFormat
}
>
Resolve
Hook
Resolve
Hook
:
NodeLoaderHooksAPI2
.
ResolveHook
Transform
Source
Hook
Transform
Source
Hook
:
(
source
:
string
|
Buffer
, context
:
{
format
:
NodeLoaderHooksFormat
;
url
:
string
}
, defaultTransformSource
:
TransformSourceHook
)
=>
Promise
<
{
source
:
string
|
Buffer
}
>
Type declaration
(
source
:
string
|
Buffer
, context
:
{
format
:
NodeLoaderHooksFormat
;
url
:
string
}
, defaultTransformSource
:
TransformSourceHook
)
:
Promise
<
{
source
:
string
|
Buffer
}
>
Parameters
source:
string
|
Buffer
context:
{
format
:
NodeLoaderHooksFormat
;
url
:
string
}
format
:
NodeLoaderHooksFormat
url
:
string
defaultTransformSource:
TransformSourceHook
Returns
Promise
<
{
source
:
string
|
Buffer
}
>
Exports
Node
Loader
HooksAPI1
Node
Loader
HooksAPI2
TSCommon
Get
Format
Hook
Resolve
Hook
Transform
Source
Hook
Generated using
TypeDoc