Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Jul 24, 2024
1 parent 82d3244 commit c74cf1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type { CommandDefinition, FunctionDefinition } from './types';
*/
export function getFunctionSignatures(
{ name, signatures }: FunctionDefinition,
{ withTypes, capitalize }: { withTypes: boolean; capitalize: boolean } = {
{ withTypes, capitalize }: { withTypes: boolean; capitalize?: boolean } = {
withTypes: true,
capitalize: false,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function prepareNestedFunction(fnSignature: FunctionDefinition): string {
},
],
},
{ withTypes: false }
{ withTypes: false, capitalize: false }
)[0].declaration;
}
function getFieldMapping(
Expand Down

0 comments on commit c74cf1e

Please sign in to comment.