File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ while (d!==undefined) {console.log(btoa(d));d=f.read(${CHUNKSIZE});}
526
526
/**
527
527
* Taking a standard semver type string, parse and convert to float
528
528
* @param {string } version Version string eg. v1.2.3
529
- * @returns {float }
529
+ * @returns {number }
530
530
*/
531
531
function versionToFloat ( version ) {
532
532
return parseFloat ( version . trim ( ) . replace ( "v" , "." ) ) ;
@@ -632,7 +632,7 @@ while (d!==undefined) {console.log(btoa(d));d=f.read(${CHUNKSIZE});}
632
632
/**
633
633
* GET's a URL as a Binary file
634
634
* @param {string } url
635
- * @param {(err: Error , data: ArrayBuffer) => void } callback
635
+ * @param {(err: string , data? : ArrayBuffer) => void } callback
636
636
*/
637
637
function getBinaryURL ( url , callback ) {
638
638
console . log ( "Downloading " + url ) ;
Original file line number Diff line number Diff line change 1
1
{
2
- // Change this to match your project
3
2
"include" : [" index.js" , " espruino.js" ],
4
3
"compilerOptions" : {
5
4
"allowJs" : true ,
You can’t perform that action at this time.
0 commit comments