Skip to content

Commit 521dc06

Browse files
committed
fix: remove deprecated decorator passing tsconfig path hooks
Decorators are now placed on `modifiers` on TypeScript's syntax trees. Passing decorators separately has been deprecated since v4.8 and removed completely in v5. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-8.html#decorators-are-placed-on-modifiers-on-typescripts-syntax-trees microsoft/TypeScript#49089
1 parent fd0a5a3 commit 521dc06

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/compiler/hooks/tsconfig-paths.hook.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export function tsconfigPathsBeforeHookFactory(
5555
)
5656
: tsBinary.factory.updateImportDeclaration(
5757
node,
58-
node.decorators,
5958
node.modifiers,
6059
node.importClause,
6160
moduleSpecifier,
@@ -75,7 +74,6 @@ export function tsconfigPathsBeforeHookFactory(
7574
)
7675
: tsBinary.factory.updateExportDeclaration(
7776
node,
78-
node.decorators,
7977
node.modifiers,
8078
node.isTypeOnly,
8179
node.exportClause,

0 commit comments

Comments
 (0)