Skip to content

Including this plugin in WebStorm projects breaks TS type checking #243

Closed
@ekilah

Description

@ekilah

Describe the bug
I recently updated to 5.0.1 of this plugin and regular TS type checking in JetBrains WebStorm doesn't work unless I comment out the plugin definition in my tsconfig.

To Reproduce
Making a type error (typo on a variable name, etc) in my React TypeScript project doesn't produce any errors in Webstorm if I include this plugin in tsconfig. (Note: CSS module stuff, like hovering over an import to see its type or errors about classnames not existing) doesn't work either way, either, which is obviously related)

Expected behavior
Both regular type checking and the extra stuff this plugin should be adding work in WebStorm when this plugin is enabled.

Screenshots
With the plugin disabled, by commenting it out in my tsconfig

image
image

With it enabled:

image
image

  • OS: MacOS Monterey 12.7
  • plugin version 5.0.1
  • TS version 5.1.6

I'm more than happy to help debug this, since you may not have WebStorm access, though there is a free trial period. I just don't know what I might be looking for.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions