minidev
Version:
支付宝小程序开发 cli(minidev)提供了常用的支付宝系小程序开发指令,能够方便地在各类平台上快速进行小程序的开发、预览、上传等操作。
17 lines (16 loc) • 636 B
TypeScript
import { BuilderDebugContext } from './context';
export declare class AssetsUpdater {
protected context: BuilderDebugContext;
protected updatingTask: Promise<void> | undefined;
constructor(context: BuilderDebugContext);
/**
* 检查本地资源文件是否过期并进行更新,每日只更新一次
*/
updateOfflineAssetsToday(): Promise<void>;
/**
* 更新本地资源文件
*/
updateOfflineAssets(): Promise<void>;
protected runUpdateTask(): Promise<void>;
protected updateLocalFile(filePath: string, url: string | undefined, integrity: string | undefined): Promise<void>;
}