Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
[Mode.Angular](config?: ProjectLayout) {
if (!config || !config.tsconfigPath) {
throw new Error('Path to tsconfig.json not provided');
}
return parseAngularRoutes(config.tsconfigPath);
},
[Mode.ReactTSX](config?: ProjectLayout) {