missed file in previous checkin
This commit is contained in:
parent
cef1f57e30
commit
ac942e198a
6
libs/microbit/shims.d.ts
vendored
6
libs/microbit/shims.d.ts
vendored
@ -348,6 +348,12 @@ declare namespace control {
|
|||||||
*/
|
*/
|
||||||
//% blockId="control_device_name" block="device name" weight=10 shim=control::deviceName
|
//% blockId="control_device_name" block="device name" weight=10 shim=control::deviceName
|
||||||
function deviceName(): string;
|
function deviceName(): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Derive a unique, consistent serial number of this device from internal data.
|
||||||
|
*/
|
||||||
|
//% shim=control::deviceSerialNumber
|
||||||
|
function deviceSerialNumber(): number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user