Which day I struggle with Angular and TypeScript.
Here I downloaded the module ngx-datatable to Angular from github, copied the app folder.
And immediately got a wall of errors.
The same error was when connecting the modules to React, the same types were not.
I have smart people suggested that in case of such failure it is necessary in the code to determine the type.
But if it is my code in-house. Then I copied the third-party module does not appeal to him, it is unlikely the developer assumed that additionally it is necessary to define the types.
Please tell me at least which side to approach such problems? And interested in not only the model ngx-datatable, but rather a General approach. With other modules analogichnaya situation, only copy the module - have sheet errors. You may need to install some modules? But if so, where to watch the missing modules.