main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
936 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.camelCase = exports.camelCaseTransformMerge = exports.camelCaseTransform = void 0;
|
---|
4 | var tslib_1 = require("tslib");
|
---|
5 | var pascal_case_1 = require("pascal-case");
|
---|
6 | function camelCaseTransform(input, index) {
|
---|
7 | if (index === 0)
|
---|
8 | return input.toLowerCase();
|
---|
9 | return pascal_case_1.pascalCaseTransform(input, index);
|
---|
10 | }
|
---|
11 | exports.camelCaseTransform = camelCaseTransform;
|
---|
12 | function camelCaseTransformMerge(input, index) {
|
---|
13 | if (index === 0)
|
---|
14 | return input.toLowerCase();
|
---|
15 | return pascal_case_1.pascalCaseTransformMerge(input);
|
---|
16 | }
|
---|
17 | exports.camelCaseTransformMerge = camelCaseTransformMerge;
|
---|
18 | function camelCase(input, options) {
|
---|
19 | if (options === void 0) { options = {}; }
|
---|
20 | return pascal_case_1.pascalCase(input, tslib_1.__assign({ transform: camelCaseTransform }, options));
|
---|
21 | }
|
---|
22 | exports.camelCase = camelCase;
|
---|
23 | //# sourceMappingURL=index.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.