Skip to content

Commit c2bc6b0

Browse files
author
huseyinbuyukdere
committed
fixed code review issue
1 parent 6947123 commit c2bc6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ export const plugin: PluginFunction<TypescriptMocksPluginConfig> = (schema, docu
839839
const result = oldVisit(astNode, { leave: visitor });
840840

841841
const { includedTypes, excludedTypes } = config;
842-
const shouldGenerateMockForType = (typeName: string) => {
842+
const shouldGenerateMockForType = (typeName?: string) => {
843843
if (!typeName) {
844844
return true;
845845
}

0 commit comments

Comments
 (0)