Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public set stageName(stageName: TaskStage) {
if (stageName !== TaskStage.COMPLETE && stageName !== TaskStage.NOT_STARTED) {
this.parent.stageName = stageName;
}
}