UNPKG
surrogate
Version:
latest (1.9.2)
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.0
0.2.1
0.2.0
0.0.1
0.0.0
Object method hooks made easy
github.com/jfrazx/surrogate
jfrazx/surrogate
surrogate
/
build
/
next
/
nodes
/
rules
/
skipRule.d.ts
7 lines
(6 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
NextNode
}
from
'../../../next'
;
import
type
{
NextRule
}
from
'./interfaces'
;
export
declare
class
SkipRule
<T
extends
object
>
implements
NextRule
<T> {
shouldRun
():
boolean
;
run
(
node
:
NextNode
<T>):
void
; }