mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
JS: Add die() to typedocs
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user