UNPKG

825 BTypeScriptView Raw
1// Type definitions for update-notifier 6.0
2// Project: https://github.com/yeoman/update-notifier
3// Definitions by: vvakame <https://github.com/vvakame>
4// Noah Chen <https://github.com/nchen63>
5// Jason Dreyzehner <https://github.com/bitjson>
6// Michael Grinich <https://github.com/grinich>
7// Piotr Błażejewicz <https://github.com/peterblazejewicz>
8// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
9// Minimum TypeScript Version: 4.5
10
11import UpdateNotifier, { NotifyOptions, Package, Settings, UpdateInfo } from "./update-notifier.js";
12
13/** Checks if there is an available update */
14export default function updateNotifier(settings?: Settings): UpdateNotifier;
15
16export type { NotifyOptions, Package, Settings, UpdateInfo, UpdateNotifier };