-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TypeScript] iterationCount argument missing in redo/undo #795
Labels
Comments
LeakAGeek
pushed a commit
to LeakAGeek/tui.image-editor
that referenced
this issue
Aug 6, 2022
@LeakAGeek |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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](https://user-images.githubusercontent.com/54979276/183095737-703bb66f-593f-49ef-bde5-63cc52b5ed5b.png)
![image](https://user-images.githubusercontent.com/54979276/183094864-5e9a57b5-a84f-4d86-8d2b-2c8372989ee5.png)
The text was updated successfully, but these errors were encountered: