chore: use jsDoc to explain param
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
d58f8b4ba1
commit
5bd7c77b68
@ -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]+/)
|
||||
|
||||
|
Reference in New Issue
Block a user