UNPKG
@bookbox/core
Version:
latest (0.4.0)
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
Bookbox — e-book format
@bookbox/core
/
build
/
esm
/
model
/
counters.d.ts
3 lines
(2 loc)
•
201 B
TypeScript
View Raw
1
2
3
import
{
BookSchema
}
from
'./model'
;
export
declare
function
calculateCounters
(
schema
:
BookSchema
,
counters
?:
Map
<
string
, [
number
,
boolean
]>,
steps
?:
Map
<
string
,
number
>,
bumped
?:
Set
<
string
>
):
void
;