Skip to content

Commit

Permalink
Fix linting (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Whoaa512 authored Sep 27, 2022
1 parent 9255272 commit 2332986
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
export type RenderFrame = {
/**
Custom handler which is run when the animation playback is stopped.
This can be set to perform a cleanup when playback has finished.
*/
done?: () => void;

/**
Custom handler which is run for each frame of the GIF.
Expand All @@ -14,6 +7,13 @@ export type RenderFrame = {
@param text - The frame which should be rendered.
*/
(text: string): void;

/**
Custom handler which is run when the animation playback is stopped.
This can be set to perform a cleanup when playback has finished.
*/
done?: () => void;
};

declare const terminalImage: {
Expand Down

0 comments on commit 2332986

Please sign in to comment.