Skip to content

Frontend Orientation Syntax Error #12

@wokwen

Description

@wokwen
  • There is an error in the frontend typescript tutorial under "Class and Interface Construction".
    In the Student class, the constructor signature says "constructor(name: string, year: int, adr: string)" instead of
    "constructor(name: string, year: number, adr: string)"

  • Also, in higher.order.functions.md, under "Functions as Variables. the first line after the comment in the code snippet says
    "let name: name = value;" instead of "let name: type = value;"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions