Skip to content

Commit

Permalink
Fix #87, a typo that can cause a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
englercj committed Jul 7, 2019
1 parent 327516c commit cd89600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type_resolve_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function resolveTree(node: StringTreeNode, parentTypes: ts.TypeNode[] | null = n
let valType = childTypes[1];
if (!valType)
{
warn('Unable to resolve object value type, this is likely due to invalid JSDoc. Defaulting to \`any\`.', parent);
warn('Unable to resolve object value type, this is likely due to invalid JSDoc. Defaulting to \`any\`.', node);
valType = anyTypeNode;
}

Expand Down

0 comments on commit cd89600

Please sign in to comment.