Skip to content

Commit

Permalink
change method modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Oct 5, 2024
1 parent 288e7a4 commit f86d78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default class NestedList {
* @param data - current data of the list
* @returns - string of the recursively merged contents of the items of the list
*/
public static joinRecursive(data: ListData | ListItem): string {
private static joinRecursive(data: ListData | ListItem): string {
return data.items
.map(item => `${item.content} ${NestedList.joinRecursive(item)}`)
.join('');
Expand Down

0 comments on commit f86d78a

Please sign in to comment.