@types/react-native-wol
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-wol

Weekly Downloads

10

Version

1.0.2

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • types