Skip to content

Commit

Permalink
fix: Clean up typescript code
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed Mar 9, 2021
1 parent 4bad6c5 commit 5f3e06f
Show file tree
Hide file tree
Showing 109 changed files with 643 additions and 610 deletions.
2 changes: 1 addition & 1 deletion lib/bindings/dbus/Adapter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export declare class DbusAdapter extends Adapter {
isAdvertising(): Promise<boolean>;
startAdvertising(): Promise<void>;
stopAdvertising(): Promise<void>;
setupGatt(maxMtu?: number): Promise<GattLocal>;
setupGatt(): Promise<GattLocal>;
}
//# sourceMappingURL=Adapter.d.ts.map
2 changes: 1 addition & 1 deletion lib/bindings/dbus/Adapter.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/bindings/dbus/Adapter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/bindings/dbus/Adapter.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/bindings/dbus/MODblue.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/bindings/dbus/Peripheral.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export declare class DbusPeripheral extends Peripheral {
private isDisconnecting;
private disconnecting;
private disconnectTimeout;
constructor(adapter: DbusAdapter, path: string, id: string, addressType: AddressType, address: string, advertisement: any, rssi: number);
constructor(adapter: DbusAdapter, path: string, id: string, addressType: AddressType, address: string, advertisement: Record<string, unknown>, rssi: number);
private init;
private prop;
private isConnected;
Expand Down
2 changes: 1 addition & 1 deletion lib/bindings/dbus/Peripheral.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 10 additions & 21 deletions lib/bindings/dbus/Peripheral.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f3e06f

Please sign in to comment.