KC's Workspace
Github
Preparing search index...
@kcconfigs/commitlint
<internal>
BaseRule
Type Alias BaseRule<Value, Type>
BaseRule
:
(
parsed
:
Commit
,
when
?:
RuleConfigCondition
,
value
?:
Value
,
)
=>
Type
extends
"either"
?
RuleOutcome
|
Promise
<
RuleOutcome
>
:
Type
extends
"async"
?
Promise
<
RuleOutcome
>
:
Type
extends
"sync"
?
RuleOutcome
:
never
Type Parameters
Value
=
never
Type
extends
RuleType
=
"either"
Type Declaration
(
parsed
:
Commit
,
when
?:
RuleConfigCondition
,
value
?:
Value
,
)
:
Type
extends
"either"
?
RuleOutcome
|
Promise
<
RuleOutcome
>
:
Type
extends
"async"
?
Promise
<
RuleOutcome
>
:
Type
extends
"sync"
?
RuleOutcome
:
never
Parameters
parsed
:
Commit
Optional
when
:
RuleConfigCondition
Optional
value
:
Value
Returns
Type
extends
"either"
?
RuleOutcome
|
Promise
<
RuleOutcome
>
:
Type
extends
"async"
?
Promise
<
RuleOutcome
>
:
Type
extends
"sync"
?
RuleOutcome
:
never
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
Github
KC's Workspace
Loading...