mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Fix for duplicate USB event (#9236)
This commit is contained in:
committed by
Horiuchi_H
parent
6052959591
commit
af57239852
Vendored
+1
-1
@@ -685,7 +685,7 @@ declare namespace chrome.usb {
|
||||
interface DeviceEvent extends chrome.events.Event<(device: Device) => void> {}
|
||||
|
||||
export var onDeviceAdded: DeviceEvent;
|
||||
export var onDeviceAdded: DeviceEvent;
|
||||
export var onDeviceRemoved: DeviceEvent;
|
||||
|
||||
export function getDevices(options: { vendorId?: number, productId?: number, filters?: DeviceFilter[] }, callback: (devices: Device[]) => void): void;
|
||||
export function getUserSelectedDevices(options: { multiple?: boolean, filters?: DeviceFilter[] }, callback: (devices: Device[]) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user