smartupdate/dist/index.d.ts

9 lines
409 B
TypeScript
Raw Permalink Normal View History

2018-02-14 22:19:36 +00:00
import * as plugins from './smartupdate.plugins';
2017-08-16 16:54:23 +00:00
export declare class SmartUpdate {
2018-02-14 22:19:36 +00:00
kvStore: plugins.npmextra.KeyValueStore;
2017-08-17 09:56:38 +00:00
check(npmnameArg: string, compareVersion: string, changelogUrlArg?: string): Promise<void>;
2017-08-16 16:54:23 +00:00
private getNpmPackageFromRegistry(npmnameArg);
private checkIfUpgrade(npmPackage, localVersionStringArg, changelogUrlArg?);
2017-08-16 16:54:23 +00:00
}
export declare let standardHandler: SmartUpdate;