Skip to content

Commit

Permalink
JS: badusb: layoutPath is optional in typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Oct 22, 2024
1 parent 5e6c052 commit ba7468e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/system/js_app/types/badusb/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type KeyCode = MainKey | ModifierKey | number;
* @brief Initializes the module
* @param settings USB device settings. Omit to select default parameters
*/
export declare function setup(settings?: { vid: number, pid: number, mfrName?: string, prodName?: string, layoutPath: string }): void;
export declare function setup(settings?: { vid: number, pid: number, mfrName?: string, prodName?: string, layoutPath?: string }): void;

/**
* @brief Tells whether the virtual USB HID device has successfully connected
Expand Down

0 comments on commit ba7468e

Please sign in to comment.