mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Replace with
This commit is contained in:
Vendored
+2
-2
@@ -10,8 +10,8 @@ import events = require("events");
|
||||
|
||||
export as namespace Noble;
|
||||
|
||||
export declare function startScanning(serviceUUIDs?: string[], allowDuplicates?: boolean, listener?: (error: Error) => void): void;
|
||||
export declare function stopScanning(listener?: () => void): void;
|
||||
export declare function startScanning(serviceUUIDs?: string[], allowDuplicates?: boolean, callback?: (error: Error) => void): void;
|
||||
export declare function stopScanning(callback?: () => void): void;
|
||||
|
||||
export declare function on(event: string, listener: Function): events.EventEmitter;
|
||||
export declare function on(event: "stateChange", listener: (state: string) => void): events.EventEmitter;
|
||||
|
||||
Reference in New Issue
Block a user