Skip to content

Replace all "importsNotUsedAsValues": "error" by "verbatimModuleSyntax": trueΒ #160

@acidoxee

Description

@acidoxee

With the upcoming TS v5 release, importsNotUsedAsValues is being deprecated, and using it in a tsconfig file yields the following error:

error TS5101: Flag 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
  Use 'verbatimModuleSyntax' instead.

While the warning can be temporarily silenced, we'll eventually all have to drop that setting and use verbatimModuleSyntax instead. Do you think it would be a good idea to swap those settings now? I don't suppose this package follows semver since TS itself doesn't, so I'm guessing it shouldn't even be considered a problem to replace importsNotUsedAsValues with verbatimModuleSyntax in a new release soon?

Thanks πŸ™

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