Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions web/src/app/browser/src/keymanEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,8 @@ export class KeymanEngine extends KeymanEngineBase<BrowserConfiguration, Context
* @param {Keyboard} keyboard Keyboard script object
*
* @return {KeyboardDetails} Keyboard details object
*
*/
private getKeyboardDetails(stub: KeyboardStub, keyboard: Keyboard): KeyboardDetails {
private getKeyboardDetails(stub: KeyboardStub, keyboard: Keyboard): KeyboardDetails | null {
// works for both JS and KMX keyboards
return stub && {
Name: stub.KN,
Expand Down
Loading