UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

10 lines (9 loc) 357 B
/** * Asserts that the unknownBlob is a string map. Used to validate JSON objects received over the wire. * * @param unknownBlob - The unknown object to validate. * @throws BugError - Thrown if the unknownBlob is not a string map. */ export declare function assertStringMap(unknownBlob: unknown): asserts unknownBlob is { [key: string]: string; };