mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-24 01:17:50 +08:00
3 lines
137 B
TypeScript
3 lines
137 B
TypeScript
|
export default function sleep(milliseconds: number): Promise<void> {
|
||
|
return new Promise(resolve => setTimeout(resolve, milliseconds))
|
||
|
}
|