@@ -76,6 +76,13 @@ export namespace Components {
76
76
*/
77
77
'disconnectedClass' : string ;
78
78
}
79
+ interface MicrobitDfu {
80
+ /**
81
+ * The button label to initiate DFU mode
82
+ */
83
+ 'dfuLabel' : string ;
84
+ 'services' : Services ;
85
+ }
79
86
interface MicrobitFirmware {
80
87
'deviceInformation' : DeviceInformation ;
81
88
/**
@@ -257,6 +264,12 @@ declare global {
257
264
new ( ) : HTMLMicrobitConnectionElement ;
258
265
} ;
259
266
267
+ interface HTMLMicrobitDfuElement extends Components . MicrobitDfu , HTMLStencilElement { }
268
+ var HTMLMicrobitDfuElement : {
269
+ prototype : HTMLMicrobitDfuElement ;
270
+ new ( ) : HTMLMicrobitDfuElement ;
271
+ } ;
272
+
260
273
interface HTMLMicrobitFirmwareElement extends Components . MicrobitFirmware , HTMLStencilElement { }
261
274
var HTMLMicrobitFirmwareElement : {
262
275
prototype : HTMLMicrobitFirmwareElement ;
@@ -335,6 +348,7 @@ declare global {
335
348
'microbit-compass' : HTMLMicrobitCompassElement ;
336
349
'microbit-connect' : HTMLMicrobitConnectElement ;
337
350
'microbit-connection' : HTMLMicrobitConnectionElement ;
351
+ 'microbit-dfu' : HTMLMicrobitDfuElement ;
338
352
'microbit-firmware' : HTMLMicrobitFirmwareElement ;
339
353
'microbit-hardware' : HTMLMicrobitHardwareElement ;
340
354
'microbit-manufacturer' : HTMLMicrobitManufacturerElement ;
@@ -413,6 +427,13 @@ declare namespace LocalJSX {
413
427
*/
414
428
'disconnectedClass' ?: string ;
415
429
}
430
+ interface MicrobitDfu extends JSXBase . HTMLAttributes < HTMLMicrobitDfuElement > {
431
+ /**
432
+ * The button label to initiate DFU mode
433
+ */
434
+ 'dfuLabel' ?: string ;
435
+ 'services' ?: Services ;
436
+ }
416
437
interface MicrobitFirmware extends JSXBase . HTMLAttributes < HTMLMicrobitFirmwareElement > {
417
438
'deviceInformation' ?: DeviceInformation ;
418
439
/**
@@ -561,6 +582,7 @@ declare namespace LocalJSX {
561
582
'microbit-compass' : MicrobitCompass ;
562
583
'microbit-connect' : MicrobitConnect ;
563
584
'microbit-connection' : MicrobitConnection ;
585
+ 'microbit-dfu' : MicrobitDfu ;
564
586
'microbit-firmware' : MicrobitFirmware ;
565
587
'microbit-hardware' : MicrobitHardware ;
566
588
'microbit-manufacturer' : MicrobitManufacturer ;
0 commit comments