Skip to content

Commit

Permalink
fix: Regression caused by 1886304
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jan 2, 2021
1 parent cf345ab commit e884ec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/converter/factories/signature.ts
Expand Up @@ -110,7 +110,9 @@ function convertParameters(

paramRefl.type = context.converter.convertType(
context.withScope(paramRefl),
param.type
declaration
? context.checker.getTypeOfSymbolAtLocation(param, declaration)
: param.type
);

let isOptional = false;
Expand Down

0 comments on commit e884ec3

Please sign in to comment.