Installation
npm install --save @types/react-native-wol
Summary
This package contains type definitions for react-native-wol (https://github.com/zombie6888/react-native-wol#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-wol.
index.d.ts
/**
* Send a Wake on LAN packet for the provided MAC address.
*/
declare function send(
ipAddress: string,
macAddress: string,
/** The callback will be passed true if the packet was sent without error. */
callback?: (result: boolean, message: string) => void,
): void;
declare const wol: { send: typeof send };
export default wol;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Keana Delmotte.