(args: string)
| 611 | } |
| 612 | |
| 613 | function parseControllersField(args: string): string[] { |
| 614 | const inner = parseArrayField(args, 'controllers'); |
| 615 | if (inner === null) return []; |
| 616 | return inner |
| 617 | .split(',') |
| 618 | .map((s) => s.trim()) |
| 619 | .filter((s) => /^[A-Za-z_$][\w$]*$/.test(s)); |
| 620 | } |
| 621 | |
| 622 | /** |
| 623 | * Starting just after a class decorator's `)`, return the name of the class |
no test coverage detected