document typing progress
parent
c462547a2b
commit
fc2c3c86a4
|
|
@ -1,10 +1,12 @@
|
||||||
// TODO all of these globals (copied from eslintrc need to be typed at some point)
|
// TODO all of these globals (copied from eslintrc) need to be typed at some point
|
||||||
/* {
|
/* The typing status is listed on the left of the attribute, e.g.:
|
||||||
|
status "Attribute"
|
||||||
|
|
||||||
// Methods and Fields at https://banglejs.com/reference
|
// Methods and Fields at https://banglejs.com/reference
|
||||||
"Array": "readonly",
|
"Array": "readonly",
|
||||||
"ArrayBuffer": "readonly",
|
"ArrayBuffer": "readonly",
|
||||||
"ArrayBufferView": "readonly",
|
"ArrayBufferView": "readonly",
|
||||||
"Bangle": "readonly",
|
started "Bangle": "readonly",
|
||||||
"BluetoothDevice": "readonly",
|
"BluetoothDevice": "readonly",
|
||||||
"BluetoothRemoteGATTCharacteristic": "readonly",
|
"BluetoothRemoteGATTCharacteristic": "readonly",
|
||||||
"BluetoothRemoteGATTServer": "readonly",
|
"BluetoothRemoteGATTServer": "readonly",
|
||||||
|
|
@ -20,8 +22,8 @@
|
||||||
"Float64Array": "readonly",
|
"Float64Array": "readonly",
|
||||||
"fs": "readonly",
|
"fs": "readonly",
|
||||||
"Function": "readonly",
|
"Function": "readonly",
|
||||||
"Graphics": "readonly", // partly done
|
started "Graphics": "readonly",
|
||||||
"heatshrink": "readonly",
|
done "heatshrink": "readonly",
|
||||||
"I2C": "readonly",
|
"I2C": "readonly",
|
||||||
"Int16Array": "readonly",
|
"Int16Array": "readonly",
|
||||||
"Int32Array": "readonly",
|
"Int32Array": "readonly",
|
||||||
|
|
@ -107,7 +109,7 @@
|
||||||
"poke32": "readonly",
|
"poke32": "readonly",
|
||||||
"poke8": "readonly",
|
"poke8": "readonly",
|
||||||
"print": "readonly",
|
"print": "readonly",
|
||||||
"require": "readonly",
|
started "require": "readonly",
|
||||||
"reset": "readonly",
|
"reset": "readonly",
|
||||||
"save": "readonly",
|
"save": "readonly",
|
||||||
"Serial1": "readonly",
|
"Serial1": "readonly",
|
||||||
|
|
@ -123,9 +125,8 @@
|
||||||
"trace": "readonly",
|
"trace": "readonly",
|
||||||
"VIBRATE": "readonly",
|
"VIBRATE": "readonly",
|
||||||
// Aliases and not defined at https://banglejs.com/reference
|
// Aliases and not defined at https://banglejs.com/reference
|
||||||
"g": "readonly", // done
|
done "g": "readonly",
|
||||||
"WIDGETS": "readonly" // done
|
done "WIDGETS": "readonly"
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// ambient JS definitions
|
// ambient JS definitions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue