@microsoft.azure/autorest.testserver
Version:
Autorest test server.
8 lines (7 loc) • 319 B
TypeScript
import { MockResponseBody } from "./mock-response";
/**
* Serialize the provided content as json to use in a MockResponse body.
* @content Object to return as json.
* @returns {MockResponseBody} response body with application/json content type.
*/
export declare const json: (content: unknown) => MockResponseBody;