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 errors with verbatimModuleSyntax #503

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 11, 2023

  1. Fix errors when verbatimModuleSyntax is enabled

    With verbatimModuleSyntax set to true in tsconfig.json, library users
    get errors like this:
    
    > 'Fetch' is a type and must be imported using a type-only import when
    > 'verbatimModuleSyntax' is enabled.
    
    This commit fixes the errors by using type-only import syntax for the
    affected types.
    ozanmakes committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    132a8db View commit details
    Browse the repository at this point in the history