diff --git a/README.md b/README.md index 05992df..e07016a 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,10 @@ Configuration is in `Preferences` - `Settings` - `Extensions` - `Type Coverage` If the result from the vscode plugin is different from the result from the CLI, maybe your project root directory's `tsconfig.json` is different from your CLI `tsconfig.json` +If the plugin does not work, you may see some workarounds: + ++ + ## FAQ > Q: Does this count JavaScript files? diff --git a/packages/core/src/checker.ts b/packages/core/src/checker.ts index d94510a..36ad2fa 100644 --- a/packages/core/src/checker.ts +++ b/packages/core/src/checker.ts @@ -716,6 +716,9 @@ const skippedNodeKinds = new Set([ ts.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken, ts.SyntaxKind.AmpersandEqualsToken, ts.SyntaxKind.BarEqualsToken, + ts.SyntaxKind.BarBarEqualsToken, + ts.SyntaxKind.AmpersandAmpersandEqualsToken, + ts.SyntaxKind.QuestionQuestionEqualsToken, ts.SyntaxKind.CaretEqualsToken, ts.SyntaxKind.PrivateIdentifier, ts.SyntaxKind.BreakKeyword,