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

Fixing syntax error in todos.md #57

Merged
merged 2 commits into from
Jul 29, 2023
Merged

Fixing syntax error in todos.md #57

merged 2 commits into from
Jul 29, 2023

Commits on Jul 27, 2023

  1. Fixing syntax error & TypeScript warning in todos.md

    This fixes two small code issues that I came across was I was following the tutorial:
    
    First, a syntax error in `todoActions$`.
    
    Secondly, a TypeScript warning in the definition of `useTodos`:
    ```
    Type 'IterableIterator<Todo>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
    ```
    
    Replacing `[...todosMap.values()]` with `Array.from(todosMap.values())` makes that warning go away without customising TypeScript from its default value.
    sebmos authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    f893c27 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Revert TypeScript warning

    sebmos authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    04a8a25 View commit details
    Browse the repository at this point in the history