Angular Integration Error - Cannot find name 'koreAnonymousFn'

Chatbot Error

Cannot find name ‘koreAnonymousFn’.

botOptions.koreAnonymousFn = koreAnonymousFn;

Facing this error while Integrating bot with Angular

@thatikonda.sreekanth

Please try to follow the below steps:
1: Copy koreAnonymousFn function definition into chatbot.component.ts
2: Refer the copied function
botOptions.koreAnonymousFn = this.koreAnonymousFn;

@rajasekhar.balla