@leafer/task 1.0.0-alpha.2 → 1.0.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/TaskItem.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/task",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.21",
4
4
  "description": "@leafer/task",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer/math": "1.0.0-alpha.1",
23
- "@leafer/debug": "1.0.0-alpha.1"
22
+ "@leafer/math": "1.0.0-alpha.21",
23
+ "@leafer/debug": "1.0.0-alpha.21"
24
24
  },
25
25
  "devDependencies": {
26
- "@leafer/interface": "1.0.0-alpha.1"
26
+ "@leafer/interface": "1.0.0-alpha.21"
27
27
  }
28
28
  }
package/src/TaskItem.ts CHANGED
@@ -30,8 +30,8 @@ export class TaskItem {
30
30
 
31
31
  public complete(): void {
32
32
  this.isComplete = true
33
- this.parent = undefined
34
- this.task = undefined
33
+ this.parent = null
34
+ this.task = null
35
35
  }
36
36
 
37
37
  }