EndoJS
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
>
General overload for interface guards.
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
}
Optional
defaultGuards
?:
DefaultGuardType
Optional
sloppy
?:
boolean
Deprecated
Use
defaultGuards
instead.
Returns
InterfaceGuard
<
M
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
EndoJS
Loading...
General overload for interface guards.