* Check if string is PascalCase
(str: string)
| 209 | * Check if string is PascalCase |
| 210 | */ |
| 211 | function isPascalCase(str: string): boolean { |
| 212 | return /^[A-Z][a-zA-Z0-9]*$/.test(str); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Resolve a Svelte component reference using name-based lookup |