Skip to content

Typos, round 2 #43

@Firsh

Description

@Firsh

https://www.totaltypescript.com/workshops/typescript-pro-essentials/essential-types-and-notations/type-checking-maps

Double space in the code below the video on this line, before //:

// @ts-expect-error // red squiggly line under @ts-expect-error``


https://www.totaltypescript.com/workshops/typescript-pro-essentials/essential-types-and-notations/debugging-json-parsing/solution

"This message indicates that TypeScript is not expecting anything inside the angle braces when calling JSON.parse. To resolve this error, we simply remove the angle braces:"

Replace 2 occurrences of braces with brackets.


https://www.totaltypescript.com/workshops/typescript-pro-essentials/essential-types-and-notations/typing-fetch-api-responses-in-async-functions/solution

"We also can't add a type annotation to response.json() because as it doesn't accept type arguments either:"

Use either "because" or "as".


https://www.totaltypescript.com/workshops/typescript-pro-essentials/integrated-development-environments-superpowers/typescripts-approach-to-errors

"However, sometimes TypeScript won't give you an error in the exact spot that you need to."

The sentence should end with "you need it." or "you need it to."


https://www.totaltypescript.com/workshops/typescript-pro-essentials/integrated-development-environments-superpowers/fast-imports-in-vs-code/solution

There was meant to be a screenshot of Quick Fix, but it is a broken image, only the alt text is showing (empty src attribute).


https://www.totaltypescript.com/workshops/typescript-pro-essentials/integrated-development-environments-superpowers/organizing-imports-in-large-files/solution

"VS Code's Command Pallette"
"Once the Command Pallette is open"
Image alt text: ![Screenshot of Command Pallette with Organize Imports]

Remove 1 letter l so it's Palette in 3 occurrences. Source: https://code.visualstudio.com/api/ux-guidelines/command-palette
Also, the image is missing and is using a broken (visible) Markdown (no URL)


https://www.totaltypescript.com/workshops/typescript-pro-essentials/integrated-development-environments-superpowers/automatic-code-formatting-with-prettier

Command Pallette -> Command Palette
Automatically code formatting -> Automatic code formatting


https://www.totaltypescript.com/workshops/typescript-pro-essentials/integrated-development-environments-superpowers/restarting-the-typescript-server-in-vs-code

Command Pallette -> Command Palette
After a couple of seconds, and the server -> After a couple of seconds, the server

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