smartupdate/dist/index.d.ts

9 lines
409 B
TypeScript
Raw Normal View History

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