Skip to content

[ARGG-773]: Fix issues with TypeScript apps#175

Merged
Alex Sannikov (xalechez) merged 1 commit into
fork_cra5from
ARGG-773
Nov 7, 2023
Merged

[ARGG-773]: Fix issues with TypeScript apps#175
Alex Sannikov (xalechez) merged 1 commit into
fork_cra5from
ARGG-773

Conversation

@xalechez

Copy link
Copy Markdown

No description provided.

.getCompilerHooks(compiler)
.receive.tap('afterTypeScriptCheck', (diagnostics, lints) => {
const allMsgs = [...diagnostics, ...lints];
.waiting.tap('awaitingTypeScriptCheck', () => {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plugin API changed, pulled this change from the upstream react-dev-utils example


forkTsCheckerWebpackPlugin
.getCompilerHooks(compiler)
.issues.tap('afterTypeScriptCheck', issues => {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

received -> issues

@xalechez Alex Sannikov (xalechez) merged commit 9d9b411 into fork_cra5 Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants