Skip to content

Commit

Permalink
style: add void to clearTable type
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jul 11, 2023
1 parent 6571d33 commit 620ea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Table<R extends Record<string, any>> {
/**
* Clears the table of all rows, resets the counter, and clears all indexes.
*/
public clearTable() {
public clearTable(): void {
this.rows.clear();
for (const k in this.indexes) {
this.indexes[k].index.clear();
Expand Down

0 comments on commit 620ea7b

Please sign in to comment.