@rudderstack/integrations-lib
Version:
A comprehensive TypeScript library providing shared utilities, SDKs, and tools for RudderStack integrations and destinations.
15 lines • 462 B
TypeScript
interface Context {
request: {
body?: any;
url: string;
};
}
/**
* Retrieves the destination type from the given context object.
*
* @param {object} ctx - The context object containing the request information.
* @returns {string|null} - The destination type extracted from the context object, or null if not found.
*/
export declare function getDestTypeFromContext(ctx: Context): any;
export {};
//# sourceMappingURL=request.d.ts.map