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

create-svelte: Make hooks file comply with TypeScript strictest mode #4667

Merged
merged 1 commit into from
Apr 20, 2022
Merged

create-svelte: Make hooks file comply with TypeScript strictest mode #4667

merged 1 commit into from
Apr 20, 2022

Commits on Apr 20, 2022

  1. create-svelte: Fix hooks tsc warnings on strictest typescript config

    Error: Module '@types/cookie/index' has no default export. ts(1192)
    Error: Property 'userid' comes from an index signature, so it must be accessed with ['userid']. ts(4111)
    
    Strictest tsconfig from https://github.com/tsconfig/bases/blob/27f9097a02f960e351d69bca8dd4c7581d70e1b6/bases/strictest.json
    Nicolas Le Cam committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    3b2bce2 View commit details
    Browse the repository at this point in the history