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

Fix TypeScript error when verbatimModuleSyntax is enabled #476

Merged
merged 2 commits into from
Jan 23, 2024

Commits on Jan 23, 2024

  1. Fix TypeScript error when verbatimModuleSyntax is enabled

    When `verbatimModuleSyntax` is enabled in TypeScript when building your application two Type errors would pop up. 
    
    ```console 
    TS1484: 'RoutesMap' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
    ```
    ```console 
    TS1484: 'Route' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
    ```
    NilsMinten authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7b37d1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cfe2cd View commit details
    Browse the repository at this point in the history