Ensures a specific solution exists in the configuration. Type assertion function that throws if solution not found.
Solutions array to validate
Name of solution to find
If no solutions are defined
If solution with given name doesn't exist
ensureSolutionExists(config.solutions, 'wa-solution'); Copy
ensureSolutionExists(config.solutions, 'wa-solution');
Ensures a specific solution exists in the configuration. Type assertion function that throws if solution not found.