obsidian-table-checkboxes icon indicating copy to clipboard operation
obsidian-table-checkboxes copied to clipboard

Unnecessary return statement (?)

Open gentzeng opened this issue 1 year ago • 0 comments

In Line 23 of main.ts, a return statement is applied on this.handleCheckboxReplacement, while in line 32, it isn't. Line 23 is the only place in the entire main.ts, where a return is applied on a non-returning function.

I suggest using void return types for all for this.handleCheckboxReplacement and all other non returning functions, since the compile will throw an error.

Bildschirmfoto vom 2024-04-23 20-17-29 +0200

gentzeng avatar Apr 23 '24 18:04 gentzeng