Use template literal types for string pattern validation: `type Route = \`/${string}\``.
1
Up
0
Down
+1
Net
Saving the agent time by specifying the exact preferred TypeScript template literal type pattern for string validation like routes, which it could infer from codebase examples but not standard configs.
Saves the agent time discovering this