@kwiz/common
Version:
KWIZ common utilities and helpers for M365 platform
6 lines (5 loc) • 484 B
TypeScript
import { IJsonSyncResult, IRequestBody, IRestOptions } from "../types/rest.types";
export declare function GetJsonSync<T>(url: string, body?: IRequestBody, options?: IRestOptions): IJsonSyncResult<T>;
export declare function GetJson<T>(url: string, body?: IRequestBody, options?: IRestOptions): Promise<T>;
/** if you detected a change that invalidates all requests stored in memory - this will clear all in-memory cached results */
export declare function GetJsonClearCache(): void;