0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 21:53:27 -05:00
penpot-exporter-figma-plugin/common/sleep.ts
2024-06-26 08:11:57 +02:00

1 line
86 B
TypeScript

export const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));