Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Orientation Syntax Error #12

Open
wokwen opened this issue Feb 11, 2024 · 0 comments
Open

Frontend Orientation Syntax Error #12

wokwen opened this issue Feb 11, 2024 · 0 comments
Assignees

Comments

@wokwen
Copy link
Contributor

wokwen commented Feb 11, 2024

  • 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;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants