(items: readonly string[], prefix: string, allSymbol?: string)
| 725 | } |
| 726 | |
| 727 | static extractChildElements(items: readonly string[], prefix: string, allSymbol?: string): string[] { |
| 728 | return items |
| 729 | .filter(field => field === allSymbol || field.startsWith(`${prefix}.`)) |
| 730 | .map(field => (field === allSymbol ? allSymbol : field.substring(prefix.length + 1))); |
| 731 | } |
| 732 | |
| 733 | /** |
| 734 | * Tries to detect TypeScript support. |
no test coverage detected