16 lines
536 B
TypeScript
16 lines
536 B
TypeScript
|
/// <reference types="node" />
|
||
|
export interface ErrorWithCode {
|
||
|
code: string;
|
||
|
}
|
||
|
export declare const convertCamelToUpperSnakeCase: (str: string) => string;
|
||
|
/**
|
||
|
* From: https://www.webmanajemen.com/2022/05/use-import-meta-cjs.html
|
||
|
*/
|
||
|
export declare const getDirname: () => {
|
||
|
__dirname: string;
|
||
|
__filename: string;
|
||
|
};
|
||
|
export declare const getTime: () => string;
|
||
|
export declare const log: (...msg: unknown[]) => void;
|
||
|
export declare const readJsonIfExists: (filePath: string | URL) => any;
|
||
|
//# sourceMappingURL=utils.d.ts.map
|