Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fix: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter committed Nov 6, 2018
1 parent 6fb281d commit 70dace6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ function createPropTypeTypings(interf: dom.InterfaceDeclaration, ast: AstQuery,
typeDecl.optional ? dom.DeclarationFlags.Optional : 0);
if (propertyAst.leadingComments && propertyAst.leadingComments[0].type === 'CommentBlock') {
const trimLines = (): (line: string) => boolean => {
let characterFound = false;
return (line: string) => (characterFound = Boolean(line)) && Boolean(line);
return (line: string) => Boolean(line);
};
property.jsDocComment = (propertyAst.leadingComments[0].value as string)
.split('\n')
Expand Down

0 comments on commit 70dace6

Please sign in to comment.