Skip to content

🐛 Bug: [02-clown-availability] <Missing type> #278

Open
@Dorfieeee

Description

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.
  • This is the appropriate issue form for the bug I would like to report.

Expected

I expected the L11 to be let lastClown: string;.

https://github.com/LearningTypeScript/projects/blob/4bf708c250f1ff32f2ba2a6f4a6e38d3ca8e6298/projects/the-type-system/system-of-a-clown/02-clown-availability/solution.ts#L11C15-L11C15

Actual

let lastClown; => type any
anything can be assign to it which would eventually blow when .toUpperCase() is called.

Impacted Project

02-clown-availability
.../projects/the-type-system/system-of-a-clown/02-clown-availability

Additional Info

No response

Metadata

Assignees

No one assigned

    Labels

    accepting prsYes please, send a pull request! ♥good first issueGood for newcomerstype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions