UNPKG

@autorest/modelerfour

Version:
13 lines 570 B
import { Operation } from "@autorest/codemodel"; /** * Figure out if the provided operation already define a Content-Type parameter. * @param operation Operation. */ export declare function isContentTypeParameterDefined(operation: Operation): boolean; /** * Takes a configuration value that can be either an array, a single value or empty and returns an array with all values. * @param value Value to wrap in an array. * @returns Array of all the values. */ export declare function arrayify<T>(value: T | T[] | undefined): T[]; //# sourceMappingURL=utils.d.ts.map