智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/c6/c6237135a8f97284bec82b883de...

18 lines
508 B

export interface Config {
/** For how long to cache latest version (default: 1 day) */
interval?: number;
/** An npm distribution tag for comparision (default: 'latest') */
distTag?: string;
}
export interface Result {
/** The latest version from npm */
latest: string;
/** Has this result been retrieved from the local cache? */
fromCache: boolean;
}
/** Check if updates are available on npm for a given package */
export default function(pkg: object, config?: Config): Promise<Result | null>;