Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 4ad6f34

Browse files
committed
fix: fix compatibility with typescript 5
Update tsconfig-paths hook to be compatible with how `updateExportDeclaration` now works in typescript 5. This is from microsoft/TypeScript#49089
1 parent 8c9d4fd commit 4ad6f34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

-2
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)