UNPKG

338 BTypeScriptView Raw
1/** @deprecated just use the update-check npm package */
2declare function createModuleVersionChecker(name: string, currentVersion: string): {
3 checkAsync: () => Promise<{
4 updateIsAvailable: boolean;
5 latest: string;
6 current: string;
7 deprecated: unknown;
8 }>;
9};
10export { createModuleVersionChecker };