Skip to content

Commit e884ec3

Browse files
committed
fix: Regression caused by 1886304
1 parent cf345ab commit e884ec3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/converter/factories/signature.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ function convertParameters(
110110

111111
paramRefl.type = context.converter.convertType(
112112
context.withScope(paramRefl),
113-
param.type
113+
declaration
114+
? context.checker.getTypeOfSymbolAtLocation(param, declaration)
115+
: param.type
114116
);
115117

116118
let isOptional = false;

0 commit comments

Comments
 (0)