mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
JS: Never type for die()
This commit is contained in:
@@ -207,7 +207,7 @@ declare function require(module: string): any;
|
||||
* @param message The error message to show to user
|
||||
* @version Added in JS SDK 0.1
|
||||
*/
|
||||
declare function die(message: string): void;
|
||||
declare function die(message: string): never;
|
||||
|
||||
/**
|
||||
* @brief mJS Foreign Pointer type
|
||||
|
||||
Reference in New Issue
Block a user