mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:15:20 -05:00
4 lines
108 B
TypeScript
4 lines
108 B
TypeScript
|
export const sleep = (timeout: number) => {
|
||
|
return new Promise(resolve => setTimeout(resolve, timeout))
|
||
|
}
|