chore: use jsDoc to explain param
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2022-09-30 13:36:57 +02:00
parent d58f8b4ba1
commit 5bd7c77b68
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,10 @@ function cleanupTitle(title: string) {
const spaceRegex = /^ */
// taskTitles should be multiple lines of task tiles with indention to declare their parent/subtask
// relation between each other.
/**
* @param taskTitles should be multiple lines of task tiles with indention to declare their parent/subtask
* relation between each other.
*/
export function parseSubtasksViaIndention(taskTitles: string): TaskWithParent[] {
const titles = taskTitles.split(/[\r\n]+/)