Skip to content

Commit 94fc58c

Browse files
committed
chore: Update warning message
1 parent 6bbcf57 commit 94fc58c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/actions/check-public-api/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/generator-common/src/compiler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,21 +289,21 @@ function needsIgnoreDeprecationsTs6(
289289
moduleResolutionKind === ModuleResolutionKind.Classic
290290
) {
291291
logger.warn(
292-
`The selected module resolution kind ${ModuleResolutionKind[moduleResolutionKind]} is not deprecated with TypeScript 6.0`
292+
`The selected module resolution kind ${ModuleResolutionKind[moduleResolutionKind]} is deprecated with TypeScript 6.0`
293293
);
294294
return true;
295295
}
296296

297297
if (scriptTarget === ScriptTarget.ES3 || scriptTarget === ScriptTarget.ES5) {
298298
logger.warn(
299-
`The selected script target ${ScriptTarget[scriptTarget]} is not deprecated with TypeScript 6.0`
299+
`The selected script target ${ScriptTarget[scriptTarget]} is deprecated with TypeScript 6.0`
300300
);
301301
return true;
302302
}
303303

304304
if (moduleKind === ModuleKind.AMD) {
305305
logger.warn(
306-
`The selected module kind ${ModuleKind[moduleKind]} is not deprecated with TypeScript 6.0`
306+
`The selected module kind ${ModuleKind[moduleKind]} is deprecated with TypeScript 6.0`
307307
);
308308
return true;
309309
}

0 commit comments

Comments
 (0)