UNPKG
@gorpacrate/core-graphics
Version:
latest (8.0.2)
8.0.2
8.0.1
8.0.0
7.2.1
7.2.0
7.1.2
A core library for creating shape-based graphic editors
@gorpacrate/core-graphics
/
lib
/
contrib
/
reduce-history.d.ts
5 lines
(4 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
import
{
IScene
}
from
'../declarations'
;
import
{
IHistoryEvent
,
IPersistedHistoryEvent
}
from
'../history/history-event'
;
export
default
function
reducePersistedHistory
(
history: IPersistedHistoryEvent[]
):
IScene
;
export
declare
function
reduceHistory
(
history: IHistoryEvent[]
):
IScene
;