nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.84k stars 1.26k forks source link

[TypeScript] iterationCount argument missing in redo/undo #795

Closed LeakAGeek closed 1 year ago

LeakAGeek commented 1 year ago

Describe the bug

Type in index.d.ts: public redo(): Promise; public undo(): Promise;

Should be: public redo(iterationCount: number): Promise; public undo(iterationCount: number): Promise;

API: image image

lja1018 commented 1 year ago

@LeakAGeek Thank you for the missing type report. PR will be reviewed soon.