Skip to content

Commit

Permalink
Merge branch 'dev' into portasynthinca3/3927-thread-stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
portasynthinca3 authored Nov 7, 2024
2 parents f1eb60b + 51aafd1 commit da187fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions applications/system/js_app/packages/fz-sdk/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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): never;

/**
* @brief mJS Foreign Pointer type
*
Expand Down
2 changes: 1 addition & 1 deletion applications/system/js_app/packages/fz-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flipperdevices/fz-sdk",
"version": "0.1.1",
"version": "0.1.2",
"description": "Type declarations and documentation for native JS modules available on Flipper Zero",
"keywords": [
"flipper",
Expand Down

0 comments on commit da187fe

Please sign in to comment.