Skip to content

Commit

Permalink
JS: Never type for die()
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 2, 2024
1 parent 67d9f5b commit d97dffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/system/js_app/packages/fz-sdk/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d97dffe

Please sign in to comment.