8 lines
127 B
TypeScript
8 lines
127 B
TypeScript
|
function wait (milliseconds: number) {
|
||
|
return new Promise(resolve => setTimeout(resolve, milliseconds))
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
wait
|
||
|
}
|