Skip to content

Commit

Permalink
fix(platform): type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 28, 2020
1 parent 86849a1 commit c823413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/nodejs-platform.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nodejs-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class NodeJsPlatform implements IPlatform {
* @return A long integer value, the request id, that uniquely identifies the entry in the callback list.
*/
requestAnimationFrame(callback: (animationFrameStart: number) => void): number {
return setImmediate(callback);
return setImmediate(callback) as any;
}

/**
Expand Down

0 comments on commit c823413

Please sign in to comment.