Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

bug in func2 #5

@FarazJahanmanesh

Description

@FarazJahanmanesh

in func2 in your service you are not return any thing in the last else

else {
  var day2 = this.day + 10;
  this.month = (day2 / 30) + 10;
  this.day = (day2 % 30);
  if (day2 % 30 == 0) {
    this.month--;
    this.day = 30;
  }
  this.year = this.gregorianYear - 622;
}

and in typescript version 5.2.2 its have error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions