Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files Browse the repository at this point in the history
oliviertassinari committed Nov 22, 2020
1 parent c512521 commit 3b471a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-grid-data-generator/src/useDemoData.ts
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ function extrapolateSeed(rowLength, columns, data) {
}

async function sleep(duration: number) {
return new Promise((resolve) => {
return new Promise<void>((resolve) => {
setTimeout(() => {
resolve();
}, duration);

0 comments on commit 3b471a6

Please sign in to comment.