文件操作 - hydrate.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/nuxt/dist/app/composables/hydrate.d.ts
编辑文件内容
import type { NuxtPayload } from '../nuxt.js'; /** * Allows full control of the hydration cycle to set and receive data from the server. * @param key a unique key to identify the data in the Nuxt payload * @param get a function that returns the value to set the initial data * @param set a function that will receive the data on the client-side * @since 3.0.0 */ export declare const useHydration: <K extends keyof NuxtPayload, T = NuxtPayload[K]>(key: K, get: () => T, set: (value: T) => void) => void;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件