UNPKG

@azure-utils/storybooks

Version:

Utils to upload and manage Storybooks via Azure Functions and storage.

5 lines (4 loc) 390 B
import type { HttpResponseInit, InvocationContext } from "@azure/functions"; export declare function responseHTML(html: JSX.Element): HttpResponseInit; export declare function responseError(error: unknown, context: InvocationContext, init?: ResponseInit | number): HttpResponseInit; export declare function responseRedirect(location: string, init: ResponseInit | number): HttpResponseInit;