diff options
Diffstat (limited to 'frontend-old/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts')
| -rw-r--r-- | frontend-old/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend-old/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts b/frontend-old/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts new file mode 100644 index 0000000..b503b5a --- /dev/null +++ b/frontend-old/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts @@ -0,0 +1,5 @@ +/** + * Runs the passed callback during the next idle period, or immediately + * if the browser's visibility state is (or becomes) hidden. + */ +export declare const whenIdle: (cb: () => void) => number; |
