Occasionally, this issue may arise in larger projects. However, there is a simple solution. You can call upon the TypeScript compiler directly for the type definitions you have generated by using a command like (assuming your project directory is named jquery.datatables):
tsc --project types/jquery.datatables/tsconfig.json
It's important that the configuration is properly set up and already in place. Alternatively, you could attempt running it directly with:
tsc --noEmit types/jquery.datatables/jquery.datatables-tests.ts
Keep in mind, this approach might raise issues if there are dependencies on other files. Using the --noEmit option prevents TSC from generating unnecessary JavaScript code, which could result in complaints from DefinitelyTyped's tests (indicating unused files that should not be included in version control).