(args: string)
| 831 | } |
| 832 | |
| 833 | function parseControllersField(args: string): string[] { |
| 834 | const inner = parseArrayField(args, 'controllers'); |
| 835 | if (inner === null) return []; |
| 836 | return inner |
| 837 | .split(',') |
| 838 | .map((s) => s.trim()) |
| 839 | .filter((s) => /^[A-Za-z_$][\w$]*$/.test(s)); |
| 840 | } |
| 841 | |
| 842 | /** |
| 843 | * Starting just after a class decorator's `)`, return the name of the class |
no test coverage detected