shared.d.ts 522 B

12345678
  1. export declare function parseJson(jsonStr: string): any;
  2. export declare function once<T extends (...args: any[]) => any>(fn: T, ctx?: unknown): T;
  3. export declare const runByHBuilderX: () => boolean;
  4. export declare const isInHBuilderX: () => boolean;
  5. export declare function resolveSourceMapPath(outputDir?: string, platform?: UniApp.PLATFORM): string;
  6. export declare const isWindows: boolean;
  7. export declare function normalizePath(id: string): string;
  8. export declare function installHBuilderXPlugin(plugin: string): void;