How to get typescript method callback working?

I am developing with vuejs using typescript and facing issues with method callback working. I am basically trying to update my data by wrapping it in a debounce function. I am using debounce function from https://www.npmjs.com/package/ts-debounce module. Here is the code example: import { debounce…