User-1174608757 posted
Hi vinodkpasi,
In fact , print is the global method of window in JavaScript. You could notice that print word has different color.When it creates Type Declaration File, the program will filter your print method by default to prevent the cover
of own print method.
So, I suggest you to change name "print" to other but not has defined in Script.
I hope it could help you.
Best Regards
Wei Zhang