Toshihiko
    正在准备搜索索引...

    接口 CacheOptions

    为兼容 v1 保留的模块式 Cache 配置。

    interface CacheOptions {
        module?: CacheModule;
        name?: string;
        path?: string;
        readonly [key: string]: DataValue;
    }

    可索引

    索引
    module?: CacheModule

    已经加载、并公开 Cache 工厂函数的模块。

    name?: string

    解析为以下名称的软件包后缀:@toshihiko/{name}-cache。

    path?: string

    通过以下方法加载的模块路径:require()。