chore: use jsDoc to explain param
All checks were successful
continuous-integration/drone/pr Build is passing

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

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]+/)