mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
8 lines
147 B
TypeScript
8 lines
147 B
TypeScript
|
|
export default function (timeout: number) {
|
||
|
|
return new Promise((resolve) => {
|
||
|
|
setTimeout(() => {
|
||
|
|
resolve({});
|
||
|
|
}, timeout);
|
||
|
|
});
|
||
|
|
}
|