hipthrusts - v1.2.0
Preparing search index...
index
RedactResponseSwitch
Function RedactResponseSwitch
RedactResponseSwitch
<
TPath
extends
string
,
TCases
extends
Record
<
string
,
HasRedactResponse
<
any
,
any
>
>
,
>
(
keyPath
:
TPath
,
cases
:
TCases
,
)
:
{
redactResponse
:
(
unsafe
:
Parameters
<
TCases
[
keyof
TCases
]
[
"redactResponse"
]
>
[
0
]
,
context
:
NestedPathReq
<
TPath
>
,
)
=>
ReturnType
<
TCases
[
keyof
TCases
]
[
"redactResponse"
]
>
;
}
Type Parameters
TPath
extends
string
TCases
extends
Record
<
string
,
HasRedactResponse
<
any
,
any
>
>
Parameters
keyPath
:
TPath
cases
:
TCases
Returns
{
redactResponse
:
(
unsafe
:
Parameters
<
TCases
[
keyof
TCases
]
[
"redactResponse"
]
>
[
0
]
,
context
:
NestedPathReq
<
TPath
>
,
)
=>
ReturnType
<
TCases
[
keyof
TCases
]
[
"redactResponse"
]
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
hipthrusts - v1.2.0
Loading...