mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Replace the union types with the correct typedefs in the webidl files and the API classes.
This commit is contained in:
parent
76d6685d7f
commit
402bc552ca
7 changed files with 21 additions and 21 deletions
|
@ -10,10 +10,10 @@ interface BluetoothRemoteGATTService {
|
|||
readonly attribute DOMString uuid;
|
||||
readonly attribute boolean isPrimary;
|
||||
[Throws]
|
||||
BluetoothRemoteGATTCharacteristic getCharacteristic((DOMString or unsigned long) characteristic);
|
||||
BluetoothRemoteGATTCharacteristic getCharacteristic(BluetoothCharacteristicUUID characteristic);
|
||||
[Throws]
|
||||
sequence<BluetoothRemoteGATTCharacteristic> getCharacteristics
|
||||
(optional (DOMString or unsigned long) characteristic);
|
||||
(optional BluetoothCharacteristicUUID characteristic);
|
||||
//Promise<BluetoothRemoteGATTCharacteristic>getCharacteristic(BluetoothCharacteristicUUID characteristic);
|
||||
//Promise<sequence<BluetoothRemoteGATTCharacteristic>>
|
||||
//getCharacteristics(optional BluetoothCharacteristicUUID characteristic);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue