Skip to content

Typos, round 5 #46

@Firsh

Description

@Firsh

https://www.totaltypescript.com/workshops/typescript-pro-essentials/typescript-classes/classes-in-typescript/exercise

The documentation is not a link in the description, though it's said the video it'll be linked.


https://www.totaltypescript.com/workshops/typescript-pro-essentials/typescript-classes/getter-methods-in-typescript/solution

near the bottom, "Either way, They allow you to" -> the word They doesn't need to start with a capital letter


https://www.totaltypescript.com/workshops/typescript-pro-essentials/typescript-classes/setter-methods-in-typescript/solution

"And that's it- a rundown on" -> use em dash — with or without spaces symmetrically on the sides


https://www.totaltypescript.com/workshops/typescript-pro-essentials/typescript-only-features/string-enums-in-typescript/solution

"However, if you're dealing with a single enum, string do allow you to constrain values." -> perhaps you meant plural strings? It's ambiguous whether "string" refers to string enums, string literal types, or just the string type in general.


https://www.totaltypescript.com/workshops/typescript-pro-essentials/typescript-only-features/const-enums-in-typescript

The explanation "assigns a function to it" is misleading. The function is an immediately-invoked function expression used to populate the Direction object, but after execution, Direction is just an object, not a function.

Metadata

Metadata

Assignees

No one assigned

    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