When trying to pass an Array of Numbers to Background.exit()
Background.exit([1,2,3] as Array<Number>);
I get the following error:
Invalid 'Array<Number>' passed as parameter 1 of type
'PolyType<Null or Array<Application.PropertyValueType> or Boolean or Char or Dictionary<Boolean or Char or Double or Float or Long or Number or String,Application.PropertyValueType> or Double or Float or Long or Number or String or WatchUi.BitmapResource>'
But, the PolyType allows Array<Application.PropertyValueType> and PropertyValueType can be a Number.
Sample code here:
forums.garmin.com/.../a-very-simple-wf-with-a-background-that-talks-ble-to-the-thingy52