first commit

This commit is contained in:
编码猿
2024-09-27 01:15:47 +08:00
commit 8be1fcce6b
155 changed files with 9435 additions and 0 deletions

13
json-class-interface/dist/utils.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
import { ToClassOptions } from "./typing";
export declare const isNull: (val: any) => boolean;
export declare const isUndefined: (val: any) => boolean;
export declare const isNullOrUndefined: (val: any) => boolean;
export declare const isArray: (val: any) => boolean;
export declare const isObject: (val: any) => boolean;
export declare const isObjectOrArray: (val: any) => boolean;
export declare const firstLetterCap: (val: string) => string;
export declare const setDefaultNull: (options: ToClassOptions) => string;
export declare const setDefaultNeedPropertyValue: (options: ToClassOptions, key: string) => string;
export declare const setInterfaceModel: (options: ToClassOptions) => "export interface" | "export class";
export declare const setKeyNotNull: (options: ToClassOptions, key: string) => string;
export declare const stripIndent: (template: TemplateStringsArray, ...expressions: any[]) => string;