Skip to content

Commit

Permalink
chore(types): add missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn committed Mar 16, 2019
1 parent be93da9 commit f1e0a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/add-generator.ts
Expand Up @@ -72,7 +72,7 @@ const traverseAndGetProperties = (arr: object[], prop: string): boolean => {
const searchProps = (answers: object, input: string): Promise<string[]> => {
input = input || "";
return Promise.resolve(
PROPS.filter((prop): boolean =>
PROPS.filter((prop: string): boolean =>
prop.toLowerCase().includes(input.toLowerCase()),
),
);
Expand Down

0 comments on commit f1e0a36

Please sign in to comment.