#577·guess

guess-parser doesn't work correctly with TypeScript 5

Author: BlindDespairCreated Jun 22, 2023Updated Feb 13, 2024

Hello, I've recently updated dependencies in my monorepo, namely NX 16, Angular 16.1 and TypeScript 5.1. My app doesn't use standalone components yet and still relies on modules, but still guess-parser no longer works correctly. parseAngularRoutes results in an error about multiple root modules found. And when debugging I can see that the registry tree is not generated correctly. When I downgrade my TypeScript to 4.9.5 it works fine. Is support for TypeScript 5 planned? And are the standalone components for Angular going to be supported? It is a stable feature now.