Skip to content

Commit 5e246a6

Browse files
Export button event type (#11)
1 parent b7beb12 commit 5e246a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
} from "./device.js";
2323
import { createUniversalHexFlashDataSource } from "./hex-flash-data-source.js";
2424
import { AccelerometerDataEvent } from "./accelerometer.js";
25+
import { ButtonEvent } from "./buttons.js";
2526

2627
export {
2728
MicrobitWebUSBConnection,
@@ -44,9 +45,10 @@ export {
4445

4546
export type {
4647
AccelerometerDataEvent,
47-
DeviceConnection,
4848
BoardVersion,
49+
ButtonEvent,
4950
ConnectOptions,
51+
DeviceConnection,
5052
DeviceErrorCode,
5153
FlashDataSource,
5254
};

0 commit comments

Comments
 (0)