UNPKG

stable-ts-type

Version:

Obtain the most stable type code of 'typescript' through multiple network requests

6 lines (5 loc) 316 B
export declare const simpleError: (error: any) => any; export declare const isValidJSON: (json: any) => boolean; /** 支持不严谨的json字符串(包含注释或key没有双引号) */ export declare const easyJSONStringify: (jsCode: string) => string; export declare const easyJSONParse: (jsCode: string) => any;