As a beginner in learning Angular, I am faced with the task of converting a template into Angular. However, I am struggling to find a solution for importing all functions from a custom js file into my .component.ts file at once.
I have already attempted to use the declare const method with my specific js method name, like this:
declare const myTest: any;
onClick(){
myTest();
}
But what I really want is to be able to import all methods from the custom.js file in one go.