update main.d.ts

pull/3383/head
Rob Pilling 2024-04-26 18:31:33 +01:00
parent 1b917b174e
commit 5ed250fb97
1 changed files with 9 additions and 1 deletions

View File

@ -12538,6 +12538,14 @@ declare const global: {
[key: string]: any;
}
/**
* A reference to the global scope, where everything is defined.
* This is identical to `global` but was introduced in the ECMAScript spec.
* @returns {any} The global scope
* @url http://www.espruino.com/Reference#l__global_globalThis
*/
// globalThis - builtin
/**
* A variable containing the arguments given to the function:
* ```
@ -14475,4 +14483,4 @@ declare module "Storage" {
* @url http://www.espruino.com/Reference#l_Storage_open
*/
function open(name: string, mode: "r" | "w" | "a"): StorageFile;
}
}