(typeName: string)
| 238 | } |
| 239 | |
| 240 | function typeToClassName(typeName: string): string { |
| 241 | return splitCSharpIdentifierParts(typeName).map(toPascalCasePart).join(""); |
| 242 | } |
| 243 | |
| 244 | function splitCSharpIdentifierParts(value: string): string[] { |
| 245 | return value.split(/[^A-Za-z0-9]+/).filter(Boolean); |
no test coverage detected
searching dependent graphs…