Skip to content

Commit

Permalink
lint: remove lint error in list_node (code-differently#399)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony D. Mays <[email protected]>
  • Loading branch information
anthonydmays authored Oct 22, 2024
1 parent 447f690 commit 8676acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesson_12/structs_ts/src/list_node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export class ListNode {
val: number;
next?: ListNode;

constructor(val: number = 0, next?: ListNode) {
constructor(val = 0, next?: ListNode) {
this.val = val;
this.next = next;
}
Expand Down

0 comments on commit 8676acd

Please sign in to comment.