JS: Add die() to typedocs

This commit is contained in:
Willy-JL
2024-11-02 04:16:47 +00:00
parent 87ef8772c2
commit 48aceffe9b

View File

@@ -202,6 +202,13 @@ declare function chr(n: number): string | null;
*/
declare function require(module: string): any;
/**
* @brief Exit JavaScript with given message
* @param message The error message to show to user
* @version Added in JS SDK 0.1
*/
declare function die(message: string): void;
/**
* @brief mJS Foreign Pointer type
*