Installation
npm install --save @types/on-wake-up
Summary
This package contains type definitions for on-wake-up (https://github.com/mafintosh/on-wake-up).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/on-wake-up.
index.d.ts
/**
* Register a callback when the device presumably wakes up from sleep.
* @param cb The callback to execute
* @returns Function to unregister the callback
*/
declare function onWakeUp(cb: () => void): () => void;
export = onWakeUp;
Additional Details
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: none
Credits
These definitions were written by Klaus Meinhardt.