Skip to content

Commit

Permalink
push build files [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cfl-bot committed Jul 24, 2023
1 parent 85e8a70 commit 1236cd0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/cjs/helpers/general.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export interface Path {
export declare function path<Subpaths extends Record<string, Path>>(_: string, subpaths?: Subpaths): Path & Subpaths;
export declare function snakeCaseToCamelCase(obj: Record<string, any>): void;
export declare function camelCaseToSnakeCase(obj: Record<string, any>): void;
export declare function hello(name: string): string;
6 changes: 5 additions & 1 deletion lib/cjs/helpers/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.camelCaseToSnakeCase = exports.snakeCaseToCamelCase = exports.path = exports.wrap = exports.openInNewTab = void 0;
exports.hello = exports.camelCaseToSnakeCase = exports.snakeCaseToCamelCase = exports.path = exports.wrap = exports.openInNewTab = void 0;
function openInNewTab(url, target) {
if (target === void 0) { target = '_blank'; }
window.open(url, target);
Expand Down Expand Up @@ -88,3 +88,7 @@ function camelCaseToSnakeCase(obj) {
});
}
exports.camelCaseToSnakeCase = camelCaseToSnakeCase;
function hello(name) {
return "Hello, ".concat(name);
}
exports.hello = hello;
1 change: 1 addition & 0 deletions lib/esm/helpers/general.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export interface Path {
export declare function path<Subpaths extends Record<string, Path>>(_: string, subpaths?: Subpaths): Path & Subpaths;
export declare function snakeCaseToCamelCase(obj: Record<string, any>): void;
export declare function camelCaseToSnakeCase(obj: Record<string, any>): void;
export declare function hello(name: string): string;
3 changes: 3 additions & 0 deletions lib/esm/helpers/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ export function camelCaseToSnakeCase(obj) {
obj[snakeKey] = value;
});
}
export function hello(name) {
return "Hello, ".concat(name);
}

0 comments on commit 1236cd0

Please sign in to comment.