API reference › @evolu/common › Type › constantCaseToPascalCase
function constantCaseToPascalCase(
value: string & Brand<"ConstantCaseIdentifier">,
): string & Brand<"PascalCaseIdentifier">;
Defined in: packages/common/src/Type.ts:6044
Converts a ConstantCaseIdentifier to a PascalCaseIdentifier.
Converts HTTP2_PORT to Http2Port. Use pascalCaseToConstantCase to
recover the original spelling.