mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 05:00:04 +08:00
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
17 lines
648 B
JavaScript
17 lines
648 B
JavaScript
import { __assign } from "tslib";
|
|
import { pascalCase, pascalCaseTransform, pascalCaseTransformMerge, } from "pascal-case";
|
|
export function camelCaseTransform(input, index) {
|
|
if (index === 0)
|
|
return input.toLowerCase();
|
|
return pascalCaseTransform(input, index);
|
|
}
|
|
export function camelCaseTransformMerge(input, index) {
|
|
if (index === 0)
|
|
return input.toLowerCase();
|
|
return pascalCaseTransformMerge(input);
|
|
}
|
|
export function camelCase(input, options) {
|
|
if (options === void 0) { options = {}; }
|
|
return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
|
|
}
|
|
//# sourceMappingURL=index.js.map
|