summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts')
-rw-r--r--frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts b/frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts
new file mode 100644
index 0000000..0870fd0
--- /dev/null
+++ b/frontend-old/node_modules/web-vitals/dist/modules/lib/bfcache.d.ts
@@ -0,0 +1,6 @@
+interface onBFCacheRestoreCallback {
+ (event: PageTransitionEvent): void;
+}
+export declare const getBFCacheRestoreTime: () => number;
+export declare const onBFCacheRestore: (cb: onBFCacheRestoreCallback) => void;
+export {};