UNPKG

499 BTypeScriptView Raw
1/**
2 * Converts a jsii method/property names to pascal-case.
3 *
4 * This is different from `toPascalCase()` since it only capitalizes the first
5 * letter. This handles avoids duplicates of things like `toIsoString()` and `toISOString()`.
6 * The assumption is that the jsii name is camelCased.
7 *
8 * @param camelCase The original jsii method name
9 * @returns A pascal-cased method name.
10 */
11export declare function jsiiToPascalCase(camelCase: string): string;
12//# sourceMappingURL=naming-util.d.ts.map
\No newline at end of file