Endo API documentation
Preparing search index...
@endo/patterns
MakeInterfaceGuardGeneral
Type Alias MakeInterfaceGuardGeneral
MakeInterfaceGuardGeneral
:
<
M
extends
Record
<
PropertyKey
,
MethodGuard
>
>
(
interfaceName
:
string
,
methodGuards
:
M
,
options
?:
{
defaultGuards
?:
DefaultGuardType
;
sloppy
?:
boolean
}
,
)
=>
InterfaceGuard
<
M
>
Type declaration
<
M
extends
Record
<
PropertyKey
,
MethodGuard
>
>
(
interfaceName
:
string
,
methodGuards
:
M
,
options
?:
{
defaultGuards
?:
DefaultGuardType
;
sloppy
?:
boolean
}
,
)
:
InterfaceGuard
<
M
>
Type Parameters
M
extends
Record
<
PropertyKey
,
MethodGuard
>
Parameters
interfaceName
:
string
methodGuards
:
M
Optional
options
:
{
defaultGuards
?:
DefaultGuardType
;
sloppy
?:
boolean
}
Returns
InterfaceGuard
<
M
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Endo API documentation
Loading...