diff --git a/src/services/models/Operation.ts b/src/services/models/Operation.ts index 058b6196..aacd4749 100644 --- a/src/services/models/Operation.ts +++ b/src/services/models/Operation.ts @@ -86,7 +86,7 @@ export class OperationModel implements IMenuItem { parent: GroupModel | undefined, private options: RedocNormalizedOptions, isCallback: boolean = false, - callbackEventName: string | undefined = undefined, + callbackEventName?: string, ) { this.pointer = JsonPointer.compile(['paths', operationSpec.pathName, operationSpec.httpVerb]);